OSDN Git Service

greybus: sdio: fix return of get_cd and get_ro
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 2 Jul 2015 18:11:32 +0000 (19:11 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 6 Jul 2015 18:15:42 +0000 (11:15 -0700)
commit08ccc9be680debdeb9eb2dcaa83c5fc7cd71f487
tree740c430036156ae562ae52a35fff3d710e2d3011
parentc36d31cbc57635f7e66176d84d7b8688796a01d3
greybus: sdio: fix return of get_cd and get_ro

Functions were returning the wrong flag for the expected value. Swap
them.

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