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: 606397d6 ("fsi: Add ast2600 master driver") Reviewed-by: NJoel Stanley <joel@jms.id.au> Reviewed-by: NMilton Miller <miltonm@us.ibm.com> Signed-off-by: NEddie James <eajames@linux.ibm.com> Signed-off-by: NJoel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20201120004929.185239-1-joel@jms.id.auSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录