aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorNeil Armstrong <[email protected]>2022-09-08 14:18:03 +0200
committerMark Brown <[email protected]>2022-09-08 13:51:51 +0100
commit36acf80fc0c4b5ebe6fa010b524d442ee7f08fd3 (patch)
tree78599a68685ed3b8a9868e78b9b2b3f7ca2ac422 /net/lapb/lapb_in.c
parent014eac3e93515ef37a794b1880340efd616d5768 (diff)
spi: meson-spicc: do not rely on busy flag in pow2 clk ops
Since [1], controller's busy flag isn't set anymore when the __spi_transfer_message_noqueue() is used instead of the __spi_pump_transfer_message() logic for spi_sync transfers. Since the pow2 clock ops were limited to only be available when a transfer is ongoing (between prepare_transfer_hardware and unprepare_transfer_hardware callbacks), the only way to track this down is to check for the controller cur_msg. [1] ae7d2346dc89 ("spi: Don't use the message queue if possible in spi_sync") Fixes: 09992025dacd ("spi: meson-spicc: add local pow2 clock ops to preserve rate between messages") Fixes: ae7d2346dc89 ("spi: Don't use the message queue if possible in spi_sync") Reported-by: Markus Schneider-Pargmann <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Tested-by: Markus Schneider-Pargmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions