aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2014-08-16 21:23:40 +0800
committerLee Jones <[email protected]>2014-09-26 08:15:54 +0100
commite9e9d3973594cadd9e892bc79f914f299bb61124 (patch)
tree30b3bb2865a5f4e267b7353efdd41c4888249872 /include/linux/fpga/fpga-mgr.h
parentc38715fed8f51a8fba4a15f86732ad885f073d78 (diff)
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 <[email protected]> Acked-by: Adam Thomson <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions