summaryrefslogtreecommitdiff
path: root/drivers/misc/altera-stapl/altera.c
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2020-11-20 03:49:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 21:52:25 +0300
commitdfd7f2c1c532efaeff6084970bb60ec2f2e44191 (patch)
treec51de484bd4c7ab9dd776de6203e41828edb6e1c /drivers/misc/altera-stapl/altera.c
parentfe34761d9f5febafd189de608eb9f50d78aac107 (diff)
downloadlinux-dfd7f2c1c532efaeff6084970bb60ec2f2e44191.tar.xz
fsi: Aspeed: Add mutex to protect HW access
There is nothing to prevent multiple commands being executed simultaneously. Add a mutex to prevent this. Fixes: 606397d67f41 ("fsi: Add ast2600 master driver") Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Milton Miller <miltonm@us.ibm.com> Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20201120004929.185239-1-joel@jms.id.au Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/altera-stapl/altera.c')
0 files changed, 0 insertions, 0 deletions