Re: [PATCH] mmc: mxs-mmc: Add broken-cd devicetree property

From: Marek Vasut
Date: Sat Apr 06 2013 - 11:07:07 EST


Dear Alexandre Pereira da Silva,

> On Sat, Apr 6, 2013 at 10:58 AM, Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> wrote:
> > According to the documentation broken card detect is something different
> >
> > than non-removable:
> > > - broken-cd: There is no card detection available; polling must be
> > > used. - non-removable: non-removable slot (like eMMC); assume always
> > > present.
> >
> > But mxs-mmc set MMC_CAP_NEEDS_POLL unconditionally.
>
> I will work on a better way to fix this.

NEEDS_POLL looks nice and seems to fit this case.

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/