Re: Applied "spi: add power control when set_cs" to the spi tree

From: Tony Lindgren
Date: Mon Nov 11 2019 - 14:54:44 EST


Hi,

* Mark Brown <broonie@xxxxxxxxxx> [191031 13:24]:
> The patch
>
> spi: add power control when set_cs
>
> has been applied to the spi tree at
>
> https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5

This patch causes a regression for many SPI devices as they
assume spi_setup() return 0 on success and not a positive value.

I've sent a fix for this as:

spi: Fix regression to return zero on success instead of positive value

Regards,

Tony