OSDN Git Service

staging: mt7621-mmc: Factor out from msdc_command_start()
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sat, 16 Jun 2018 14:15:06 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:48:05 +0000 (21:48 +0900)
commit256e086636241c4c98b45ad5c173aef79a70e57a
tree1ec4a38c3d5754339f3e00895848ac4f7e6c1369
parent38ee87eaadf593de9e55ec1977c90f24dc39454e
staging: mt7621-mmc: Factor out from msdc_command_start()

Currently msdc_command_start does multiple things and is hard to read,
so factor out the finding of the response type.

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