mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
rk2928 defconfig: set OTG_DRVVBUS mode, if usb_otg_drv=-1
This commit is contained in:
@@ -114,6 +114,10 @@ static inline int check_usb_param(void)
|
||||
}
|
||||
int inline otg_drv_init(int on)
|
||||
{
|
||||
if(otg_drv == -1){
|
||||
rk30_mux_api_set(GPIO3C1_OTG_DRVVBUS_NAME, GPIO3C_OTG_DRVVBUS);
|
||||
return 0;
|
||||
}
|
||||
return port_output_init(otg_drv, on, "otg_drv");
|
||||
}
|
||||
void inline otg_drv_on(void)
|
||||
|
||||
Reference in New Issue
Block a user