From: Chris Ball Date: Mon, 10 Sep 2012 02:56:48 +0000 (-0400) Subject: mmc: slot-gpio: Fix missing assignment to ctx->ro_gpio X-Git-Tag: v3.7-rc1~69^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15e8a8e42966162c207bb97ed55c803bc437eeae;p=pandora-kernel.git 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 Acked-by: Guennadi Liakhovetski Signed-off-by: Chris Ball --- Reading git-diff-tree failed