Searched hist:e9b7ba7954fa8df6e021ee4bef084ed10eba2c2b (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/mfd/ |
H A D | as3711.h | diff e9b7ba7954fa8df6e021ee4bef084ed10eba2c2b Sun Jan 31 22:56:59 CET 2016 Maciej S. Szmigiero <mail@maciej.szmigiero.name> mfd: as3711: Set regmap config reg counts properly
Regmap config max_register field should contain number of device last register, however num_reg_defaults_raw field should be set to register count instead (usually one register more than max_register).
as3711 driver had both of these fields set to the same value, fix this by introducing separate defines for max register number and total count of registers.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Lee Jones <lee.jones@linaro.org>
|
/linux/drivers/mfd/ |
H A D | as3711.c | diff e9b7ba7954fa8df6e021ee4bef084ed10eba2c2b Sun Jan 31 22:56:59 CET 2016 Maciej S. Szmigiero <mail@maciej.szmigiero.name> mfd: as3711: Set regmap config reg counts properly
Regmap config max_register field should contain number of device last register, however num_reg_defaults_raw field should be set to register count instead (usually one register more than max_register).
as3711 driver had both of these fields set to the same value, fix this by introducing separate defines for max register number and total count of registers.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Lee Jones <lee.jones@linaro.org>
|