diff options
author | Lorenzo Bianconi <[email protected]> | 2024-09-13 23:07:13 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-18 15:10:32 +0200 |
commit | 2e6bbfe7b0c0607001b784082c2685b134174fac (patch) | |
tree | 490d4bc8fd167f20c7d61b022fb5c8241867e2ff /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 07f1eb718db281c3e0cdb068ea7d73c30921a81c (diff) |
spi: airoha: fix dirmap_{read,write} operations
SPI_NFI_READ_FROM_CACHE_DONE bit must be written at the end of
dirmap_read operation even if it is already set.
In the same way, SPI_NFI_LOAD_TO_CACHE_DONE bit must be written at the
end of dirmap_write operation even if it is already set.
For this reason use regmap_write_bits() instead of regmap_set_bits().
This patch fixes mtd_pagetest kernel module test.
Fixes: a403997c1201 ("spi: airoha: add SPI-NAND Flash controller driver")
Tested-by: Christian Marangi <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions