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

H. Nikolaus Schaller hns at goldelico.com
Mon Jul 30 08:42:50 CEST 2018

FYI: I have included your patch in letux-4.18-rc7 (which is currently being built).
If upstream has discussed if they want to dbg_info or dbg_err or whatever, it will
merge/replace your patch. In the worst case with a merge conflict. In the best case
automatically. And silently.


>> 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

-------------- 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/20180730/6913275c/attachment.asc>

More information about the Letux-kernel mailing list