staging: mt7621-mmc: Add annotations about held locks
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Tue, 24 Apr 2018 18:01:27 +0000 (20:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:36:20 +0000 (15:36 +0200)
commit884c06af7271a8aef42197102d4bb31cd795f3b7
tree312eb552458f0c13fb032c9a9be27e1ba38db803
parent0b78f05d510b01e353481f5bccb63661d2cb5c32
staging: mt7621-mmc: Add annotations about held locks

The functions msdc_command_resp and msdc_do_request are always called
with the host->lock lock held. By adding annotations, sparse is
informed about that.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: NeilBrown <neil@brown.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/sd.c