]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mux: pca954x: Return error if irq_create_mapping fails
authorPhil Reid <preid@electromag.com.au>
Thu, 24 Aug 2017 09:31:06 +0000 (17:31 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 28 Oct 2017 21:43:10 +0000 (23:43 +0200)
commitec1cb6336e831416dbd124130958f2f2cdbb4bab
tree7240467cc3a750d6877fc6ae8a42bd30416a065e
parenta560ac3f43fc88ed0d1d42cc0eb55f8a095cf173
i2c: mux: pca954x: Return error if irq_create_mapping fails

irq_create_mapping can return an error, report error to log and return.
Cleanup will occur in the probe function when an error is returned.

Suggested-by: Peter Rosin <peda@axentia.se>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-mux-pca954x.c