[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191127072723.7twwbjafqdd22v6m@pengutronix.de>
Date: Wed, 27 Nov 2019 08:27:23 +0100
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Peng Ma <peng.ma@....com>
Cc: "linux@...pel-privat.de" <linux@...pel-privat.de>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>,
"festevam@...il.com" <festevam@...il.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-i2c@...r.kernel.org" <linux-i2c@...r.kernel.org>
Subject: Re: [PATCH] i2c: imx: Defer probing if EDMA not available
Hello,
On Wed, Nov 27, 2019 at 07:12:09AM +0000, Peng Ma wrote:
> EDMA may be not available or defered due to dependencies on
> other modules, If these scenarios is encountered, we should
> defer probing.
I'd write:
i2c: imx: Defer probing if requesting DMA yields EPROBE_DEFER
DMA might not be available yet when the i2c device probes.
Properly handle EPROBE_DEFER on dma channel allocation by
passing on this error.
It would be nice to point out where/how this failed for you.
Other than that this looks reasonable.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Powered by blists - more mailing lists