summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorEsben Haabendal <eha@deif.com>2018-08-16 10:43:13 +0200
committerWolfram Sang <wsa@the-dreams.de>2018-08-20 11:13:16 +0200
commitef456a2de3716e2a38382ff2aa9a9c52962e7e84 (patch)
tree186d7f1f92fb209b3d799c3fb4f8ee769d26b106 /kernel/kmod.c
parenti2c: imx: Fix race condition in dma read (diff)
downloadlinux-ef456a2de3716e2a38382ff2aa9a9c52962e7e84.tar.xz
linux-ef456a2de3716e2a38382ff2aa9a9c52962e7e84.zip
i2c: imx: Simplify stopped state tracking
Always update the stopped state when busy status have been checked. This is identical to what was done before, with the exception of error handling. Without this change, some errors cause the stopped state to be left in incorrect state in i2c_imx_stop(), i2c_imx_dma_read(), i2c_imx_read() and i2c_imx_xfer(). Signed-off-by: Esben Haabendal <eha@deif.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions