]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-omap2/smartreflex.c
Merge branch 'for-russell' of git://hansjkoch.de/git/linux-tcc into HEAD
[karo-tx-linux.git] / arch / arm / mach-omap2 / smartreflex.c
index 919d827ed7079157a6399bd193c909f7a8583923..9dd93453e563eaa666b2640663d529dc9102c928 100644 (file)
@@ -139,7 +139,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);