aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorZhangfei Gao <[email protected]>2014-01-16 20:48:47 +0800
committerChris Ball <[email protected]>2014-01-17 09:21:38 -0500
commit7cf347bd20ec8169add381ad23f9fb25c6c076f0 (patch)
treeae046124b883b03f346b2275aa38bddcb5f10cd7 /tools/perf/util/trace-event-scripting.c
parent85136b74dc7fbbcaf173b660406de8aa1dd0068a (diff)
mmc: dw_mmc: fix dw_mci_get_cd
bf626e5550f24aec ("mmc: dw_mmc: use slot-gpio to handle cd pin") caused CDETECT to be ignored, since negated return value of mmc_gpio_get_cd(mmc) can not be checked by IS_ERR_VALUE. Also, add spin_lock_bh(&host->lock) for atomic access to DW_MMC_CARD_PRESENT, otherwise sd detect may occasionally fail. Signed-off-by: Zhangfei Gao <[email protected]> Reported-by: Kevin Hilman <[email protected]> Reviewed-by: Sachin Kamat <[email protected]> Tested-by: Sachin Kamat <[email protected]> Tested-by: Kevin Hilman <[email protected]> Acked-by: Seungwon Jeon <[email protected]> Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions