]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: slot-gpio: Don't override con_id when request descriptor
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Jan 2017 12:05:25 +0000 (14:05 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:06 +0000 (13:20 +0100)
commitc1ada71fb78ed885f2d403f8d18ae43656cf4e86
treea527788e5c2b911dea292e792dfd7b828f9ee047
parent6ac9b83772a0893d5e858f0f5fa1ad36d930d7de
mmc: slot-gpio: Don't override con_id when request descriptor

The caller may supply connection ID, index, or both. All combinations are
possible and mmc framework should not make any assumption on what exactly
caller wants.

Remove con_id override conditionals in mmc_gpiod_request_ro() and
mmc_gpiod_request_cd().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/slot-gpio.c