]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: sdio: avoid extra memory operation at data transfer
authorRui Miguel Silva <rui.silva@linaro.org>
Tue, 21 Jun 2016 15:56:16 +0000 (16:56 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 21 Jun 2016 19:28:09 +0000 (12:28 -0700)
commite3b090ea954ed6f8de295511b4e533e2ef425a0f
tree1cf404b32a58c6edf87d8e86131189a9991fe4e8
parent0698be0281e915ac42235b711f35465e8e14785b
greybus: sdio: avoid extra memory operation at data transfer

Right now greybus sdio uses the greybus operation_sync to transfer data,
this will imply an extra memcpy at greybus core that we can avoid.

Also with this change we remove the need for an extra buffer to store
intermediate copy.

So, let us create the operation and do the memory operations in the sdio
driver.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/sdio.c