[PATCH] spi: sirf: replace BUG condition by error code for unsupported transfer

Mark Brown broonie at kernel.org
Mon Apr 27 12:53:39 PDT 2015


On Mon, Apr 27, 2015 at 09:22:28AM +0000, Barry Song wrote:
> From: Qipan Li <Qipan.Li at csr.com>
> 
> return error for unsupported bits-per-word format, BUG() is not right
> for this scenerios as we are not an ASSERT but an error handler.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150427/c1b17b42/attachment-0001.sig>


More information about the linux-arm-kernel mailing list