aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorSrinivas Kandagatla <[email protected]>2019-06-12 12:03:43 +0100
committerMark Brown <[email protected]>2019-06-12 13:56:06 +0100
commitdb057679de3e9e6a03c1bcd5aee09b0d25fd9f5b (patch)
treeb24361811dab99bf04b8c16f9f153dac6ac6bf5a /scripts/gdb/linux/genpd.py
parent2899872b627e99b7586fe3b6c9f861da1b4d5072 (diff)
regmap: fix bulk writes on paged registers
On buses like SlimBus and SoundWire which does not support gather_writes yet in regmap, A bulk write on paged register would be silently ignored after programming page. This is because local variable 'ret' value in regmap_raw_write_impl() gets reset to 0 once page register is written successfully and the code below checks for 'ret' value to be -ENOTSUPP before linearising the write buffer to send to bus->write(). Fix this by resetting the 'ret' value to -ENOTSUPP in cases where gather_writes() is not supported or single register write is not possible. Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions