ARM: msm: 8064: get rid of the wpswitch configuration
This patch removes the wpswitch configuration for SDC3 as this pin is not used in any of the boards (IFC6410/CM Q600) supported by Linaro tree. The reason for this patch is partly because 482e24d8 "ARM: msm: 8064: fix the SDC3 WP switch" broke the SD card support on IFC6410. And other part is IFC6410 reports with CDP machine ID, so the check introduced in the above mentioned patch will not clear the wpswitch configuration and this results to force the SD card in Read Only mode. On the other hand checking not of is_machine is always prone to errors plus with IFC6410 reporting as CDP machine which adds bit more complexity to the problem. CPD and IFC6410 contradicts with each other w.r.t wpswitch_gpio, CPD has WP wiredup where as IFC6410 does not. Should we really care about machines which we do not test or support in linaro tree? I think the answer is No. Orignially reported at: http://mydragonboard.org/community/hw-sw-8064/sd-card-support-in-linaro-14-09-on-ifc6410/ Reported-by:Nicolas Dechesne <nicolas.dechesne@linaro.org> Reported-by:
Austin Hendrix <namniart@gmail.com> CC: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Loading
Please sign in to comment