From mboxrd@z Thu Jan 1 00:00:00 1970 From: wsa@the-dreams.de (Wolfram Sang) Date: Thu, 15 Sep 2016 21:45:27 +0200 Subject: [PATCH v7] i2c: imx: make bus recovery through pinctrl optional In-Reply-To: <1473718950-6667-1-git-send-email-leoyang.li@nxp.com> References: <1473718950-6667-1-git-send-email-leoyang.li@nxp.com> Message-ID: <20160915194526.GC7863@katana> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Sep 12, 2016 at 05:22:30PM -0500, Li Yang wrote: > Since commit 1c4b6c3bcf30 ("i2c: imx: implement bus recovery") the > driver starts to use gpio/pinctrl to support optional bus recovery > feature. But pinctrl is not always usable. There are platforms such > as ls1021a and ls1043a that don't support pinctrl, and it could just > be broken due to old/broken device tree. The patch makes it really > optional that the probe function won't bailout on pinctrl problems > instead it just disables bus recovery and prints out notification when > there is problem with pinctrl. Since pinctrl is only used by bus > recovery in this driver, move pinctrl initialization into bus recovery > init function to prevent confusion. > > Signed-off-by: Li Yang > Cc: Gao Pan > Cc: Uwe Kleine-K?nig > Acked-by: Linus Walleij Applied to for-next. Thanks to all reviewers and to Li Yang for keeping at it! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: