mmc: bcm2835: Avoid possible races on data requests
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 11 Nov 2018 20:23:56 +0000 (21:23 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commitaf19b7ce76ba220f358c82b0a5e7d68909a23aa5
tree6311d7a4c88ffecf8c8e4abf024eb2c4f60ee5f2
parent5eae252db3856e62c778832d4d59f6efc5b0aaf9
mmc: bcm2835: Avoid possible races on data requests

There are two accesses on the data requests which are not protected by
the mutex. So fix this accordingly.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/bcm2835.c