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
This commit is contained in:
parent
6793819e8d
commit
3bece9982b
|
@ -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!"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue