Files
linux/include/linux/mfd
Dan Carpenter 0114e3e527 mfd: 88pm80x: Double shifting bug in suspend/resume
commit 9a6dc644512fd083400a96ac4a035ac154fe6b8d upstream.

set_bit() and clear_bit() take the bit number so this code is really
doing "1 << (1 << irq)" which is a double shift bug.  It's done
consistently so it won't cause a problem unless "irq" is more than 4.

Fixes: 70c6cce040 ('mfd: Support 88pm80x in 80x driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-16 17:36:14 +02:00
..
2015-08-11 15:08:45 +01:00
2014-11-25 16:18:43 +00:00
2015-09-22 13:35:28 +02:00
2014-09-26 08:23:43 +01:00
2015-10-30 17:19:51 +00:00