commit | 15e8a8e42966162c207bb97ed55c803bc437eeae | [log] [tgz] |
---|---|---|
author | Chris Ball <cjb@laptop.org> | Sun Sep 09 22:56:48 2012 -0400 |
committer | Chris Ball <cjb@laptop.org> | Tue Sep 11 10:55:20 2012 -0400 |
tree | e6136461d4d1bce995796a3518fe2eef08568964 | |
parent | 0d4de8f5de2a642353834b183b16b367d39ff893 [diff] |
mmc: slot-gpio: Fix missing assignment to ctx->ro_gpio 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. Cc: stable <stable@vger.kernel.org> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>