Loading drivers/tty/serial/msm_serial_hs.c +9 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ #include <linux/msm-sps.h> #include <linux/platform_data/msm_serial_hs.h> #include <linux/msm-bus.h> #include <soc/qcom/boot_stats.h> #include "msm_serial_hs_hwreg.h" #define UART_SPS_CONS_PERIPHERAL 0 Loading Loading @@ -3417,6 +3418,7 @@ static int msm_hs_probe(struct platform_device *pdev) struct msm_serial_hs_platform_data *pdata = pdev->dev.platform_data; unsigned long data; char name[30]; char boot_marker[40]; if (pdev->dev.of_node) { dev_dbg(&pdev->dev, "device tree enabled\n"); Loading @@ -3442,6 +3444,10 @@ static int msm_hs_probe(struct platform_device *pdev) pdev->dev.platform_data = pdata; } snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER MSM HS-UART_%d Init", pdev->id); place_marker(boot_marker); if (pdev->id < 0 || pdev->id >= UARTDM_NR) { dev_err(&pdev->dev, "Invalid plaform device ID = %d\n", pdev->id); Loading Loading @@ -3675,6 +3681,9 @@ static int msm_hs_probe(struct platform_device *pdev) if (!ret) { msm_hs_clk_bus_unvote(msm_uport); msm_serial_hs_rt_init(uport); snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER MSM HS-UART_%d Ready", pdev->id); place_marker(boot_marker); return ret; } Loading Loading
drivers/tty/serial/msm_serial_hs.c +9 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ #include <linux/msm-sps.h> #include <linux/platform_data/msm_serial_hs.h> #include <linux/msm-bus.h> #include <soc/qcom/boot_stats.h> #include "msm_serial_hs_hwreg.h" #define UART_SPS_CONS_PERIPHERAL 0 Loading Loading @@ -3417,6 +3418,7 @@ static int msm_hs_probe(struct platform_device *pdev) struct msm_serial_hs_platform_data *pdata = pdev->dev.platform_data; unsigned long data; char name[30]; char boot_marker[40]; if (pdev->dev.of_node) { dev_dbg(&pdev->dev, "device tree enabled\n"); Loading @@ -3442,6 +3444,10 @@ static int msm_hs_probe(struct platform_device *pdev) pdev->dev.platform_data = pdata; } snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER MSM HS-UART_%d Init", pdev->id); place_marker(boot_marker); if (pdev->id < 0 || pdev->id >= UARTDM_NR) { dev_err(&pdev->dev, "Invalid plaform device ID = %d\n", pdev->id); Loading Loading @@ -3675,6 +3681,9 @@ static int msm_hs_probe(struct platform_device *pdev) if (!ret) { msm_hs_clk_bus_unvote(msm_uport); msm_serial_hs_rt_init(uport); snprintf(boot_marker, sizeof(boot_marker), "M - DRIVER MSM HS-UART_%d Ready", pdev->id); place_marker(boot_marker); return ret; } Loading