[Letux-kernel] [PATCH] pwm: pwm-omap-dmtimer: fix probing problems by returning EPROBE_DEFER

H. Nikolaus Schaller hns at goldelico.com
Sun Jul 29 08:31:39 CEST 2018


> Am 28.07.2018 um 19:09 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi,
> 
> On Sat, 28 Jul 2018 18:59:14 +0200
> Andreas Kemnade <andreas at kemnade.info> wrote:
> 
>> I got this in the kernel log:
>> [    0.756042] omap-dmtimer-pwm dmtimer-pwm: dmtimer pdata structure NULL
>> [    0.756134] omap-dmtimer-pwm: probe of dmtimer-pwm failed with error -22
>> 
>> the probe function has to wait until omap_dm_timer_probe() in
>> clocksource/timer-ti-dm.c has initialized pdata, so defer probing
>> 
>> Fixes: b7290cf6ff78 (pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops)
>> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
> 
> seems to be introduced in 4.17
> so maybe worth adding to letux-4.17.x

Yes!

While debugging the pinmux / gab thing, I always had the suspection that during
deferred probing there is also something wrong with pwm_bl but could not identify
it.

BR,
Nikolaus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180729/d908e771/attachment.asc>


More information about the Letux-kernel mailing list