From: Qipan Li Date: Mon, 27 Apr 2015 09:22:28 +0000 (+0000) Subject: spi: sirf: replace BUG condition by error code for unsupported transfer X-Git-Tag: omap-for-v4.3/legacy-v2-signed~175^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f08654a2b582b4e48e8a4a3d2c5c98832adc4387;p=pandora-kernel.git 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 Signed-off-by: Barry Song Signed-off-by: Mark Brown --- Reading git-diff-tree failed