Commit 3e47b88
committed
regmap: Drop early readability check
We have some drivers that have a use case for cached write only
registers, doing read/modify/writes on read only registers in order to
work more easily with bitfields. Go back to trying the cache before we
check if we can read from the device.
Fixes: eab5abd ("regmap: Check for register readability before checking cache during read")
Reported-by: Konrad Dybcio <konradybcio@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230615-regmap-drop-early-readability-v1-1-8135094362de@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent 505cb70 commit 3e47b88
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2897 | 2897 | | |
2898 | 2898 | | |
2899 | 2899 | | |
2900 | | - | |
2901 | | - | |
2902 | | - | |
2903 | 2900 | | |
2904 | 2901 | | |
2905 | 2902 | | |
| |||
2909 | 2906 | | |
2910 | 2907 | | |
2911 | 2908 | | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
2912 | 2912 | | |
2913 | 2913 | | |
2914 | 2914 | | |
| |||
0 commit comments