Skip to contentSkip to conversation

i2c: cadence: Add error handling for a platform_get_irq() call in cdns_i2c_probe()

PATCH Markus Elfring 1 participant 1 message May 20, 2020 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

The driver initialization should be end immediately after found the platform_get_irq() function return an error.

I suggest to improve also this change description. How do you think about a wording variant like the following?

Return an error code after a call of the function “platform_get_irq” failed.

Would you like to add the tag “Fixes” to the commit message?

Regards,
Markus