[Letux-kernel] Regression in v4.20 with omap_hsmmc GPIO CD and WP
H. Nikolaus Schaller
hns at goldelico.com
Sun Dec 30 10:34:22 CET 2018
Hi,
> Am 30.12.2018 um 10:24 schrieb Andreas Kemnade <andreas at kemnade.info>:
>
> Hi,
>
> On Thu, 27 Dec 2018 10:50:42 -0800
> Tony Lindgren <tony at atomide.com> wrote:
>
>> Hi all,
>>
>> Looks like commit e63201f19438 ("mmc: omap_hsmmc: Delete platform data
>> GPIO CD and WP") caused mmcblk0 to stop being detected on boot on some
>> omaps. According to Aaro and Adam, mmcblk0 does get detected after
>> replugging the SD card. Reverting the commit fixes the issue.
>>
>> Any ideas what might be causing this on boot? Are we maybe missing
>> a call on boot to mmc_gpio_get_cd() somewhere?
>>
> it hides some bogous cd gpio defines in dtb. At least on some pyra
> models. We had wrong polarity there.
Before this patch cd gpios were not really being used. With correct code
it uses bad definitions.
See:
http://git.goldelico.com/?p=letux-kernel.git;a=commit;h=c69808cf65cadef438044fba9f72c86b770597b5
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/20181230/1faa7df5/attachment.asc>
More information about the Letux-kernel
mailing list