commit | 19a177e6fb097c2a0dd94aeeb2805f0c04a4185f | [log] [tgz] |
---|---|---|
author | Kevin McKinney <klmckinney1@gmail.com> | Sun Nov 27 20:51:47 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Nov 29 10:09:52 2011 +0900 |
tree | d766dd5c03e1a0652a05e0500aede459f40f0099 | |
parent | 8fbebb091a1695b8896597573c2d75831e41929a [diff] |
Staging: bcm: Reverse semaphore locking in IOCTL_BCM_BUFFER_DOWNLOAD_STOP. This patch reorders the semaphore locking. It makes better sense to first evaluate fw_download_sema semaphore then NVMRdmWrmLocl semaphore. The fw_download_sema is suppose to be acquired in the START ioctl. If this is not true, then it does not make sense to continue. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>