Re: [PATCH v3] i2c: i2c-stm32f7: fix the get_irq error cases

From: Wolfram Sang
Date: Fri Jun 21 2019 - 17:14:09 EST

On Mon, Jun 17, 2019 at 09:53:01AM +0200, Fabrice Gasnier wrote:
> During probe, return the "get_irq" error value instead of -EINVAL which
> allows the driver to be deferred probed if needed.
> Fix also the case where of_irq_get() returns a negative value.
> Note :
> On failure of_irq_get() returns 0 or a negative value while
> platform_get_irq() returns a negative value.
> Fixes: aeb068c57214 ("i2c: i2c-stm32f7: add driver")
> Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@xxxxxx>
> Signed-off-by: Fabien Dessenne <fabien.dessenne@xxxxxx>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature