]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/mmc/host/rtsx_pci_sdmmc.c
mmc: rtsx: init cookie at probe/card_event
authorMicky Ching <micky_ching@realsil.com.cn>
Tue, 23 Dec 2014 01:19:43 +0000 (09:19 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:19 +0000 (09:56 +0100)
commit2057647f0c8b84d7392469214bfcb5baf2e74498
tree6c319bb3eac669bffc908c86c6026e1179eb2314
parent755987f9a3e5d22a3aeeff37d8f25acf8f3d744d
mmc: rtsx: init cookie at probe/card_event

host->cookie is used for handle async request,
we should init it to negative value when new card inserted,
make cookie value invalid.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/rtsx_pci_sdmmc.c