diff options
| author | Marek Szyprowski <[email protected]> | 2018-09-28 12:20:40 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2018-09-28 15:43:48 +0000 |
| commit | 1b09d9c232cdaea59fb50ac437d3921ed1f1eafb (patch) | |
| tree | 3a21cd0536610d28dfa822f41bba3e2a5370f785 /net/tipc/node.c | |
| parent | mmc: core: Fix debounce time to use microseconds (diff) | |
| download | kernel-1b09d9c232cdaea59fb50ac437d3921ed1f1eafb.tar.gz kernel-1b09d9c232cdaea59fb50ac437d3921ed1f1eafb.zip | |
mmc: slot-gpio: Fix debounce time to use miliseconds again
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: [email protected] # v4.18+
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
