linux/drivers
Shawn Lin cda34cc0e4 BACKPORT: FROMLIST: mmc: core: Add tunable delay before detecting card after card is inserted
Allow to use tunable delay before detecting card after card is inserted,
which either comes from firmware node, or comes from debounce value
passed on to mmc_gpiod_request_cd(). If the platform doesn't support
debounce, then we fall back to use the debounce period as the delay,
otherwise, it behaves the same as before that a HW debounce(if set) plus
a 200ms hardcode delay before detecting the card.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Change-Id: Ib3ed4cbcdeb0986b584d7dc9057461888e554967
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry picked from commit 26288b77fd04ea54a84801b1c92c8da519986040
of https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git)
2018-05-07 14:22:45 +08:00
..
accessibility
acpi Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
adc rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
amba
android Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
ata Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
atm atm: horizon: Fix irq release error 2017-12-16 10:33:55 +01:00
auxdisplay
base LSK 18.02 v4.4-android 2018-02-07 20:59:20 +08:00
bcma UPSTREAM: gpio: change member .dev to .parent 2018-02-28 14:55:00 +08:00
block mtip32xx: use runtime tag to initialize command header 2018-03-24 10:58:44 +01:00
bluetooth Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
bus sunxi-rsb: Include OF based modalias in device uevent 2018-01-10 09:27:09 +01:00
cdrom
char ipmi/watchdog: fix wdog hang on panic waiting for ipmi response 2018-03-24 10:58:45 +01:00
cir rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
clk clk: rockchip: rk3036: export the sfc clocks 2018-05-04 19:12:31 +08:00
clocksource clocksource/arm_global_timer: reconfigure clockevents after cpufreq change 2018-03-06 17:29:54 +08:00
cmmb rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
connector
cpufreq Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
cpuidle Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2018-01-22 11:50:22 +05:30
crypto crypto: s5p-sss - Fix kernel Oops in AES-ECB mode 2018-02-25 11:03:55 +01:00
dca
devfreq PM / devfreq: rockchip_dmc: make rockchip_find_video_info static 2018-05-04 20:11:48 +08:00
dio
dma Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
dma-buf
edac EDAC, octeon: Fix an uninitialized variable warning 2018-02-16 20:09:47 +01:00
eisa
extcon Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-12-01 11:04:13 +08:00
firewire
firmware PM / devfreq: rockchip_bus: support soc bus devfreq. 2018-05-03 19:53:43 +08:00
fmc
fpga
gpio Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
gpu MALI: rockchip: upgrade midgard DDK to r18p0-01rel0 2018-05-02 20:32:05 +08:00
headset_observe rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
hid Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
hsi HSI: ssi_protocol: double free in ssip_pn_xmit() 2018-03-24 10:58:42 +01:00
hv Drivers: hv: vmbus: fix build warning 2018-02-25 11:03:46 +01:00
hwmon Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
hwspinlock
hwtracing Merge tag 'v4.4.124' into linux-linaro-lsk-v4.4 2018-03-26 02:31:53 +00:00
i2c i2c: rk3x: Add "suspended" flag to forbid access I2C bus during suspend/resume noirq 2018-05-03 09:53:01 +08:00
ide
idle idle: i7300: add PCI dependency 2018-02-25 11:03:51 +01:00
iio Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
infiniband RDMA/ucma: Fix access to non-initialized CM_ID object 2018-03-24 10:58:49 +01:00
input input: touchscreen: gslx680: compatible with more TP 2018-05-04 20:09:36 +08:00
iommu iommu/rockchip: support rk_iommu_map_sg for iommu ops 2018-04-27 10:23:33 +08:00
ipack
irqchip Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
isdn isdn: sc: work around type mismatch warning 2018-02-25 11:03:51 +01:00
leds Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
lguest
lightnvm
macintosh
mailbox rk: rm include/linux/rockchip/common.h 2017-11-17 14:55:40 +08:00
mcb
md Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2018-03-26 02:32:06 +00:00
media camera: rockchip: set system status SYS_STATUS_ISP when camera on/off 2018-04-28 16:54:22 +08:00
memory ARM: OMAP2+: gpmc-onenand: propagate error on initialization failure 2017-12-16 10:33:51 +01:00
memstick
message mptfusion: hide unused seq_mpt_print_ioc_summary function 2018-02-25 11:03:45 +01:00
mfd mfd: rk808: Set only resetting pmic register for 817&809. 2018-04-24 11:37:19 +08:00
misc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
mmc BACKPORT: FROMLIST: mmc: core: Add tunable delay before detecting card after card is inserted 2018-05-07 14:22:45 +08:00
mtd Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
net wifi: add marvell 88W8977 wifi module driver 2018-04-17 18:54:27 +08:00
nfc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
ntb
nubus
nvdimm libnvdimm, namespace: make 'resource' attribute only readable by root 2017-11-30 08:37:23 +00:00
nvme Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00
nvmem nvmem: rockchip-otp: Fix section mismatch when compile 2018-02-26 19:57:25 +08:00
of Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
oprofile
parisc parisc: Hide Diva-built-in serial aux and graphics card 2018-01-02 20:33:20 +01:00
parport
pci Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
pcmcia
perf Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
phy UPSTREAM: usb: gadget: move gadget API functions to udc-core 2018-04-27 10:27:04 +08:00
pinctrl pinctrl: rockchip: fixup pdm-clkm-m2 for rk3308 2018-04-10 15:40:27 +08:00
platform Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
pnp
power power: rk817-battery: improve the storage accuracy of dsoc 2018-05-04 11:49:00 +08:00
powercap
pps
ps3
ptp time: Change posix clocks ops interfaces to use timespec64 2018-03-24 10:58:40 +01:00
pwm Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
rapidio
ras
regulator regulator: rk808: DCDC_REG5 registers early. 2018-05-03 10:51:53 +08:00
remoteproc
reset
rk_nand drivers: rk_nand: fix SPOR data lost issue 2018-05-07 09:31:17 +08:00
rpmsg
rtc Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
s390 s390/qeth: on channel error, reject further cmd requests 2018-03-31 18:12:34 +02:00
sbus
scsi Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2018-04-05 18:31:12 +01:00
sfi
sh
smc rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
sn
soc soc: rockchip: power-domain: add panic when wait status timeout 2018-05-04 19:13:15 +08:00
spi Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
spmi
ssb ssb: mark ssb_bus_register as __maybe_unused 2018-02-25 11:03:44 +01:00
staging Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
switch rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
target tcm_fileio: Prevent information leak for short reads 2018-03-24 10:58:45 +01:00
tc
tee BACKPORT: tee: shm: Potential NULL dereference calling tee_shm_register() 2018-03-05 21:58:40 +05:30
testcode rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
thermal thermal: rockchip: add shutdown callback function 2018-03-28 18:55:38 +08:00
thunderbolt
tty Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
uio
usb BACKPORT: usb: gadget: add tracepoints to the gadget API 2018-04-27 10:27:04 +08:00
uwb uwb: ensure that endpoint is interrupt 2017-10-12 11:27:35 +02:00
vfio
vhost vhost_net: stop device during reset owner 2018-02-16 20:09:38 +01:00
video video: rockchip: vpu: Support default freq for rk3288w 2018-04-17 16:33:58 +08:00
virt
virtio virtio_balloon: prevent uninitialized variable use 2018-02-25 11:03:42 +01:00
vlynq
vme
w1
watchdog Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-04-08 18:28:30 +08:00
xen xen/gntdev: Fix partial gntdev_mmap() cleanup 2018-03-03 10:19:45 +01:00
zorro
Kconfig
Makefile Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2018-03-09 19:10:14 +08:00