diff options
author | 2012-04-13 07:59:40 +0000 | |
---|---|---|
committer | 2012-04-13 14:04:47 -0400 | |
commit | 51c61a2838c33dab7b6659b9a3e008bb1b40bc9b (patch) | |
tree | a5bb998aa71933a045d43bcca7bac5a8a78478cb /drivers/i2c/algos/i2c-algo-bit.c | |
parent | drivers/net/ethernet/xilinx/axi ethernet: Correct Copyright (diff) | |
download | wireguard-linux-51c61a2838c33dab7b6659b9a3e008bb1b40bc9b.tar.xz wireguard-linux-51c61a2838c33dab7b6659b9a3e008bb1b40bc9b.zip |
ks8851: Fix missing mutex_lock/unlock
Move the ks8851_rdreg16 call above the call to request_irq and cache
the result for subsequent repeated use. A spurious interrupt may
otherwise cause a crash. Thanks to Stephen Boyd, Flavio Leitner, and
Ben Hutchings for feedback.
Signed-off-by: Matt Renzelmann <mjr@cs.wisc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions