Loading drivers/usb/dwc3/dwc3-msm.c +9 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ #include <linux/irq.h> #include <linux/extcon.h> #include <linux/reset.h> #include <soc/qcom/boot_stats.h> #include "power.h" #include "core.h" Loading Loading @@ -2917,6 +2918,7 @@ static int dwc3_msm_probe(struct platform_device *pdev) int ret = 0; int ext_hub_reset_gpio; u32 val; char boot_marker[40]; mdwc = devm_kzalloc(&pdev->dev, sizeof(*mdwc), GFP_KERNEL); if (!mdwc) Loading Loading @@ -3264,8 +3266,15 @@ static int dwc3_msm_probe(struct platform_device *pdev) mdwc->host_only_mode = true; mdwc->id_state = DWC3_ID_GROUND; dwc3_ext_event_notify(mdwc); snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER %s Host Ready", dev_name(&pdev->dev)); } else { snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER %s Device Ready", dev_name(&pdev->dev)); } place_marker(boot_marker); return 0; put_dwc3: Loading Loading
drivers/usb/dwc3/dwc3-msm.c +9 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ #include <linux/irq.h> #include <linux/extcon.h> #include <linux/reset.h> #include <soc/qcom/boot_stats.h> #include "power.h" #include "core.h" Loading Loading @@ -2917,6 +2918,7 @@ static int dwc3_msm_probe(struct platform_device *pdev) int ret = 0; int ext_hub_reset_gpio; u32 val; char boot_marker[40]; mdwc = devm_kzalloc(&pdev->dev, sizeof(*mdwc), GFP_KERNEL); if (!mdwc) Loading Loading @@ -3264,8 +3266,15 @@ static int dwc3_msm_probe(struct platform_device *pdev) mdwc->host_only_mode = true; mdwc->id_state = DWC3_ID_GROUND; dwc3_ext_event_notify(mdwc); snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER %s Host Ready", dev_name(&pdev->dev)); } else { snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER %s Device Ready", dev_name(&pdev->dev)); } place_marker(boot_marker); return 0; put_dwc3: Loading