Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1fc2770b authored by Girish Mahadevan's avatar Girish Mahadevan
Browse files

spi: spi-geni-qcom: Fix non-byte aligned bits per word logic



For cases where bits per word isn't a byte aligned value, the driver
will program incorrect transaction lengths, such a mismatch can put the
GENI state machine in a bad state leading to transfer failures.
If a transaction times out before all the Tx bytes are sent out, then
ensure that the Tx watermark interrupt is disabled as part of the timeout
handling routine to prevent an interrupt storm. Also ensure that the
device's resources are enabled before running the ISR.

Change-Id: I16699c19e1b1f459a8ac99369663d4787f75c197
Signed-off-by: default avatarGirish Mahadevan <girishm@codeaurora.org>
parent d41da87e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment