diff options
author | Haibo Chen <[email protected]> | 2021-08-13 20:34:01 +0800 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-08-24 15:05:03 +0200 |
commit | f4ff24f8a7c144e6d2107a2f2d16bcd9e2b2578f (patch) | |
tree | 4cb972e3189cfbb7d0fd55e1709bfc102ac3f06e /scripts/gdb/linux/device.py | |
parent | 71b7597c63d2ddf6d7e5eb01319f9611af437a7b (diff) |
mmc: sdhci: Correct the tuning command handle for PIO mode
If sdhci use PIO mode, and use mmc_send_tuning() to send the tuning
command, system will stuck because of the storm irq of sdhci. For PIO mode,
use mmc_send_tuning(), it will trigger buffer_read_ready interrupt and data
transfer complete interrupt. In current code logic, it will directly
return in sdhci_data_irq, can not call the sdhci_transfer_pio(). So the
buffer_read_ready interrupt storm happen. So for standard tuning method,
need to exclude this case.
Signed-off-by: Haibo Chen <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[Ulf: Dropped redundant parenthesis in an expression]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions