diff options
author | Andy Green <andy.green@linaro.org> | 2011-12-29 13:33:27 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-12-29 13:33:27 +0800 |
commit | 8bd472bb41699bd157ec5c12f85b8f087cec9176 (patch) | |
tree | 2c1832b58987ad9a505cc671c96ca9f024935e9b | |
parent | 02f5602ce397bde83e9b2f4d0ffb279137ca7d9a (diff) |
omap sr fix missing status load
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | arch/arm/mach-omap2/smartreflex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 36f7971042c..230787fa043 100644 --- a/arch/arm/mach-omap2/smartreflex.c +++ b/arch/arm/mach-omap2/smartreflex.c @@ -138,7 +138,7 @@ static irqreturn_t sr_interrupt(int irq, void *data) sr_write_reg(sr_info, ERRCONFIG_V1, status); } else if (sr_info->ip_type == SR_TYPE_V2) { /* Read the status bits */ - sr_read_reg(sr_info, IRQSTATUS); + status = sr_read_reg(sr_info, IRQSTATUS); /* Clear them by writing back */ sr_write_reg(sr_info, IRQSTATUS, status); |