]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mmc_fdt_helpers: Do not schedule a card detection is there is no cd gpio
authormanu <manu@FreeBSD.org>
Wed, 15 Apr 2020 13:02:13 +0000 (13:02 +0000)
committermanu <manu@FreeBSD.org>
Wed, 15 Apr 2020 13:02:13 +0000 (13:02 +0000)
commit64767a984d9bdee78a177013b24e7bdd4c171d4c
treef4fe0d17ea4a95e74cd250c0ce2316d5721df7f0
parent7b9732d3abe2f08491e5dc9a6456af9ce3f9d9a7
mmc_fdt_helpers: Do not schedule a card detection is there is no cd gpio

If the fdt node doesn't have a cd-gpios properties or if the node is set
as non-removable we do not init the card detection timeout task as it is
useless so don't schedule it too.

MFC after: 1 month
X-MFC-With: r359924
sys/dev/mmc/mmc_fdt_helpers.c