Files
kernel_xiaomi_sm8250/include/linux
Axel Lin e9e9d39735 mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver
Current code init regmap with &da9052_regmap_config for both da9052-spi and
da9052-i2c drivers. da9052-spi sets the read_flag_mask.
The same setting may be applied for da9052-i2c if da9052-spi driver is loaded
first because they actually use the same regmap_config setting.
Fix this issue by using a local variable for regmap_config in da9052-spi driver,
so the settings in spi driver won't impact the settings in i2c driver.
Also makes da9052_regmap_config const to avoid similar issue.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2014-09-26 08:15:54 +01:00
..
2014-08-01 22:35:55 +08:00
2014-08-07 14:40:08 -04:00
2014-08-06 18:01:24 -07:00
2014-08-06 18:01:19 -07:00
2014-08-19 10:19:39 -05:00
2014-07-22 21:55:45 +01:00
2014-08-08 15:57:26 -07:00
2014-08-08 15:57:31 -07:00
2014-08-06 13:03:44 +02:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:24 -07:00
2014-08-08 15:57:22 -07:00