mmc: host: tmio: fill in response from auto cmd12
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 14 Mar 2017 10:09:19 +0000 (11:09 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:16 +0000 (21:41 +0200)
commiteb7c00e1461124ad0e85f1a9a3954d7164809c13
tree1bc05a377be85bb7d0f7f33644fb70b2257a4bcf
parent022f731e03d190d0e4f52f2b1bd90fae0eadd56d
mmc: host: tmio: fill in response from auto cmd12

After we received the dataend interrupt, R1 response register carries
the value from the automatically generated stop command. Report that
info back to the MMC block layer, so we will be notified in case of e.g.
ECC errors which happened during the last transfer.

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_pio.c