Re: [PATCH] i2c: imx: defer probing on dma channel request

From: Laurentiu Tudor
Date: Wed Jan 16 2019 - 03:48:38 EST


Hello,

On 15.01.2019 23:55, Wolfram Sang wrote:
> Hi,
>
> On Tue, Jan 15, 2019 at 04:03:32PM +0200, Laurentiu Tudor wrote:
>> If the dma controller is not yet probed, defer i2c probe.
>> The error path in probe was slightly modified (no functional change)
>> to avoid triggering this WARN_ON():
>> "cg-pll0-div1 already disabled
>> WARNING: CPU: 1 PID: 1 at drivers/clk/clk.c:828 clk_core_disable+0xa8/0xb0"
>>
>> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
>
> I just applied this series to i2c/for-next:
>
> http://patchwork.ozlabs.org/project/linux-i2c/list/?series=85099&state=*
>
> I haven't checked carefully but maybe it fixes/changes your issue?

Not really as it doesn't seem to defer probing until the dma controller
gets probed.

> If not, your patch most likely will need a rebase on top of the above.

Will rebase on latest i2c tree and re-send.

---
Best Regards, Laurentiu