[PATCH v2 4/7] spi: s3c64xx: use error code from clk_prepare_enable()

Krzysztof Kozlowski k.kozlowski at samsung.com
Fri Jul 8 13:33:28 PDT 2016


On Fri, Jul 08, 2016 at 11:46:38PM +0900, Andi Shyti wrote:
> If clk_prepare_enable() fails do not return -EBUSY but use the
> value provided by the function itself.
> 
> Suggested-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> Signed-off-by: Andi Shyti <andi.shyti at samsung.com>
> ---
>  drivers/spi/spi-s3c64xx.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Cool, thanks for fixing existing pattern:
Reviewed-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list