commit | c1ada71fb78ed885f2d403f8d18ae43656cf4e86 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Jan 02 14:05:25 2017 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Feb 13 13:20:06 2017 +0100 |
tree | a527788e5c2b911dea292e792dfd7b828f9ee047 | |
parent | 6ac9b83772a0893d5e858f0f5fa1ad36d930d7de [diff] |
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>