[PATCH 1/4] mmc: sunxi: Lock fix

2014-12-15 Thread David Lanzendörfer
1) Adding a comment in order to clarify the choice of the locks within sunxi_mmc_handle_manual_stop 2) As 李想 has pointed out the wait_dma variable was not accessed within the spin lock block in sunxi_mmc_request and so (even if it should never happend) it would have

[PATCH 1/4] mmc: sunxi: Lock fix

2014-12-15 Thread David Lanzendörfer
1) Adding a comment in order to clarify the choice of the locks within sunxi_mmc_handle_manual_stop 2) As 李想 has pointed out the wait_dma variable was not accessed within the spin lock block in sunxi_mmc_request and so (even if it should never happend) it would have