Axel Lin 890c98e374 mfd: Set adp5520 bits if new value is different from the old one
Current code checks if all the bit_mask bits are all zero is wrong.
We need to write new value if the bit mask fields of new value is
not equal to old value.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-12-20 18:50:55 +01:00
..
2011-10-24 14:09:19 +02:00
2011-03-31 11:26:23 -03:00
2011-10-24 14:09:16 +02:00
2011-03-27 00:09:51 +01:00
2011-05-26 19:45:28 +02:00
2011-05-26 19:45:28 +02:00
2011-07-31 23:28:25 +02:00
2011-07-31 23:28:25 +02:00
2011-03-31 11:26:23 -03:00
2011-03-23 10:41:59 +01:00