Re: [PATCH 01/11 v3] mmc: spi: Convert to use GPIO descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 26, 2018 at 9:39 AM Laurent Pinchart
<laurent.pinchart@xxxxxxxxxxxxxxxx> wrote:

> > +     status = mmc_gpiod_request_cd(mmc, NULL, 0, false, 1, NULL);
>
> As for patch 02/11, shouldn't the override argument be set to true ?
(...)
> > +     status = mmc_gpiod_request_ro(mmc, NULL, 1, false, 0, NULL);
>
> Same here.

Oh after looking, actually not.

Since I also fix up all the descriptors in this patch to actually indicate
the right polarity, we do not need to override it, the setting in the
descriptor is correct.

Yours,
Linus Walleij



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux