diff options
author | Eddie James <eajames@linux.ibm.com> | 2020-11-20 03:49:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 21:52:25 +0300 |
commit | dfd7f2c1c532efaeff6084970bb60ec2f2e44191 (patch) | |
tree | c51de484bd4c7ab9dd776de6203e41828edb6e1c /drivers/misc/altera-stapl/altera.c | |
parent | fe34761d9f5febafd189de608eb9f50d78aac107 (diff) | |
download | linux-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