Dear Chris Ball,

> Hi Marek,
> 
> On Fri, Jun 08 2012, Marek Vasut wrote:
> > The write-protect GPIO is inverted on some boards. Handle such case.
> > 
> > Signed-off-by: Marek Vasut <ma...@denx.de>
> > Cc: Shawn Guo <shawn....@linaro.org>
> > Cc: Fabio Estevam <fabio.este...@freescale.com>
> > Cc: linux-mmc@vger.kernel.org
> > Cc: Chris Ball <c...@laptop.org>
> > Cc: Lothar Waßmann <l...@karo-electronics.de>
> > ---
> > 
> >  drivers/mmc/host/mxs-mmc.c |   15 +++++++++++++--
> >  1 file changed, 13 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
> > index 34a9026..c6964e1 100644
> > --- a/drivers/mmc/host/mxs-mmc.c
> > +++ b/drivers/mmc/host/mxs-mmc.c
> > @@ -164,16 +164,23 @@ struct mxs_mmc_host {
> > 
> >     spinlock_t                      lock;
> >     int                             sdio_irq_en;
> >     int                             wp_gpio;
> > 
> > +   int                             wp_inverted:1;
> 
> Mind if I change this to "bool wp_inverted;"?  Other than that, looks
> fine and I'll merge it for 3.6.

That should be fine. Thanks!

> Thanks,
> 
> - Chris.

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to