lkml.org 
[lkml]   [2019]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subjectfix device in programming state after ioctl()
    Date
    the user space program may access eMMC by ioctl(), after the ioctl() was
    completed, it should ensure that eMMC is in transfer state, or it will
    cause other thread which access eMMC got timeout error, as it assume that
    card was in transfer state.

    this patch add CMD13 polling for R1B command to avoid this issue.

    Chaotian Jing (2):
    mmc: block: make the card_busy_detect() more generic
    mmc: block: add CMD13 polling for ioctl() cmd with R1B response

    drivers/mmc/core/block.c | 111 ++++++++++++++++++++-------------------
    1 file changed, 57 insertions(+), 54 deletions(-)

    --
    2.18.0


    \
     
     \ /
      Last update: 2019-09-04 09:56    [W:6.806 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site