commit | f08654a2b582b4e48e8a4a3d2c5c98832adc4387 | [log] [tgz] |
---|---|---|
author | Qipan Li <Qipan.Li@csr.com> | Mon Apr 27 09:22:28 2015 +0000 |
committer | Mark Brown <broonie@kernel.org> | Mon Apr 27 20:53:28 2015 +0100 |
tree | 1a23f77e44c2c256f0fcbdc61c094610c37e1a49 | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 [diff] |
spi: sirf: replace BUG condition by error code for unsupported transfer 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. Signed-off-by: Qipan Li <Qipan.Li@csr.com> Signed-off-by: Barry Song <baohua.song@csr.com> Signed-off-by: Mark Brown <broonie@kernel.org>