From 3bece9982b13cfff9e28ffc7cc7d6ae48441c3d8 Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Wed, 8 Oct 2014 17:05:40 -0700 Subject: [PATCH] uicc: add load/unload rules for MSM8994 Add support for MSM8994 USB controller. It is mostly the same as MSM8974 with minor changes due to controller device name and the module parameter location. Change-Id: I80eb83def519c69369b50622907d3d1d3a295fe8 --- rootdir/etc/init.qcom.uicc.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rootdir/etc/init.qcom.uicc.sh b/rootdir/etc/init.qcom.uicc.sh index 8445bbfa..698a05ee 100644 --- a/rootdir/etc/init.qcom.uicc.sh +++ b/rootdir/etc/init.qcom.uicc.sh @@ -63,6 +63,10 @@ uicc_insert() echo Y > /sys/module/ehci_hcd/parameters/uicc_card_present echo msm_ehci_host > /sys/bus/platform/drivers/msm_ehci_host/bind ;; + "msm8994") + echo Y > /sys/module/ehci_msm2/parameters/uicc_card_present + echo f9a55000.ehci > /sys/bus/platform/drivers/msm_ehci_host/bind + ;; *) echo "USB_UICC invalid target when insert uicc!" ;; @@ -93,6 +97,10 @@ uicc_remove() echo msm_ehci_host > /sys/bus/platform/drivers/msm_ehci_host/unbind echo N > /sys/module/ehci_hcd/parameters/uicc_card_present ;; + "msm8994") + echo f9a55000.ehci > /sys/bus/platform/drivers/msm_ehci_host/unbind + echo N > /sys/module/ehci_msm2/parameters/uicc_card_present + ;; *) echo "USB_UICC invalid target when remove uicc!" ;;