summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_pme2/pme2_ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/fsl_pme2/pme2_ctrl.c')
-rw-r--r--drivers/staging/fsl_pme2/pme2_ctrl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/fsl_pme2/pme2_ctrl.c b/drivers/staging/fsl_pme2/pme2_ctrl.c
index 016648c..136d7e0 100644
--- a/drivers/staging/fsl_pme2/pme2_ctrl.c
+++ b/drivers/staging/fsl_pme2/pme2_ctrl.c
@@ -891,6 +891,9 @@ int pme_attr_set(enum pme_attr attr, u32 val)
case pme_attr_efqc:
pme_out(global_pme, EFQC, val);
break;
+ case pme_attr_iir:
+ pme_out(global_pme, IIR, val);
+ break;
default:
pr_err("pme: Unknown attr %u\n", attr);
return -EINVAL;
@@ -1383,6 +1386,9 @@ int pme_attr_get(enum pme_attr attr, u32 *val)
attr_val = pme_in(global_pme, EFQC);
break;
+ case pme_attr_iir:
+ attr_val = pme_in(global_pme, IIR);
+ break;
default:
pr_err("pme: Unknown attr %u\n", attr);