]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc: Do not pass external mmc_cmd structure to mmc_send_op_cond_iter()
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Thu, 19 Mar 2015 12:44:04 +0000 (07:44 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:36:25 +0000 (22:36 +0200)
commitb466a0ac51e5654cdf92692df6c4365ce117fb9e
tree5c13ad7ed79cf784e104ad3de5e3c546f0970e77
parented6a31306e05e311c47d13ebc183b698ba97932f
mmc: Do not pass external mmc_cmd structure to mmc_send_op_cond_iter()

The previous change to use 'ocr' structure field for storing send_op_cond
command response also stopped using command response directly
outside of mmc_send_op_cond_iter(). Now it becomes possible to use
command structure in mmc_send_op_cond_iter() locally, removing a necessity
to pass it as an argument from the caller.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
drivers/mmc/mmc.c