diff options
author | Chris Ball <cjb@laptop.org> | 2012-09-09 22:56:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-13 05:50:34 +0900 |
commit | 25356be596603e72329799728cbe494652ccdaab (patch) | |
tree | b42c220920ca03900fc594e5b53022b87011e905 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | 07c0544659b0d75a7b649b37ab5641fa0a3eec2c (diff) |
mmc: slot-gpio: Fix missing assignment to ctx->ro_gpio
commit 15e8a8e42966162c207bb97ed55c803bc437eeae upstream.
mmc_gpio_request_ro() doesn't store the requested gpio in ctx->ro_gpio.
As a result, subsequent calls to mmc_gpio_get_ro() will always fail
with -ENOSYS because the gpio number isn't available to that function.
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions