]> git.sur5r.net Git - u-boot/commit
mmc: matsushita-common: Wait for command completion
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 9 Apr 2018 18:47:31 +0000 (20:47 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 11 Apr 2018 21:12:00 +0000 (23:12 +0200)
commitf23b208ebe6a8e241b3801ccfbb2c49e680fad9b
treeba2ba14813468b232e71d40104b0f9a61a9f6b05
parent8dc9a10e49381e1d5d7329d123656f19fd7f8131
mmc: matsushita-common: Wait for command completion

Make sure to wait for the command to complete altogether, including
the trailing 8 clock cycles. This prevents the driver for accidentally
writing the CMD register too fast before the previous command fully
completed.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/matsushita-common.c
drivers/mmc/matsushita-common.h