Skip to content
Commit c9bc3e8b authored by Dan Carpenter's avatar Dan Carpenter Committed by Mark Brown
Browse files

spi: signedness bug in qspi_trigger_transfer_out_int()

We need "ret" to be unsigned for the error handling to work.  The
signedness of "i" and "n" don't matter but qspi_set_send_trigger()
returns an int so I've changed them to int as well.

Fixes: 4b6fe3ed

 ('spi: Using Trigger number to transmit/receive data')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4b6fe3ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment