aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2018-01-18 01:28:12 +0900
committerUlf Hansson <[email protected]>2018-03-05 13:03:16 +0100
commit497d1f965c207f1d670066e9c87a2ffad1ce4e5e (patch)
tree00468aeab8231deb9f1d1c9d26cd832351770ba1 /scripts/gdb/linux/utils.py
parent788778b0d21a6d5cd5bc6c880591119e17932327 (diff)
mmc: tmio: support IP-builtin card detection logic
A card detect GPIO is set up only for platforms with "cd-gpios" DT property or TMIO_MMC_USE_GPIO_CD flag. However, the driver core always uses mmc_gpio_get_cd, which just fails with -ENOSYS if ctx->cd_gpio is unset. The bit 5 of the status register provides the current signal level of the CD line. Allow to use it if the GPIO is unused. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Tested-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions