Re: [PATCH] mmc: slot-gpio: Fix debounce time to use miliseconds again

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

 



* Ulf Hansson <ulf.hansson@xxxxxxxxxx> [180928 15:50]:
> On 28 September 2018 at 14:20, Marek Szyprowski
> <m.szyprowski@xxxxxxxxxxx> wrote:
> > The debounce value passed to mmc_gpiod_request_cd() function is in
> > microseconds, but msecs_to_jiffies() requires the value to be in
> > miliseconds to properly calculate the delay, so adjust the value stored
> > in cd_debounce_delay_ms context entry.
> >
> > Fixes: 1d71926bbd59 ("mmc: core: Fix debounce time to use microseconds")
> > Fixes: bfd694d5e21c ("mmc: core: Add tunable delay before detecting card
> > after card is inserted")
> > Cc: stable@xxxxxxxxxxxxxxx # v4.18+
> > Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> 
> Applied for fixes!

Heh thanks for fixing it, looks like I totally missed that part :)

Tony



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux