Commit f08654a2 authored by Qipan Li's avatar Qipan Li Committed by Mark Brown
Browse files

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: default avatarQipan Li <Qipan.Li@csr.com>
Signed-off-by: default avatarBarry Song <baohua.song@csr.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b787f68c
Supports Markdown
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