Loading drivers/clk/qcom/camcc-lahaina.c +6 −0 Original line number Diff line number Diff line Loading @@ -3007,11 +3007,17 @@ static int cam_cc_lahaina_probe(struct platform_device *pdev) return ret; } static void cam_cc_lahaina_sync_state(struct device *dev) { qcom_cc_sync_state(dev, &cam_cc_lahaina_desc); } static struct platform_driver cam_cc_lahaina_driver = { .probe = cam_cc_lahaina_probe, .driver = { .name = "lahaina-cam_cc", .of_match_table = cam_cc_lahaina_match_table, .sync_state = cam_cc_lahaina_sync_state, }, }; Loading drivers/clk/qcom/common.c +7 −0 Original line number Diff line number Diff line Loading @@ -354,4 +354,11 @@ int qcom_cc_probe_by_index(struct platform_device *pdev, int index, } EXPORT_SYMBOL_GPL(qcom_cc_probe_by_index); void qcom_cc_sync_state(struct device *dev, const struct qcom_cc_desc *desc) { dev_info(dev, "sync-state\n"); clk_sync_state(dev); } EXPORT_SYMBOL(qcom_cc_sync_state); MODULE_LICENSE("GPL v2"); drivers/clk/qcom/common.h +1 −0 Original line number Diff line number Diff line Loading @@ -74,4 +74,5 @@ extern int qcom_cc_probe(struct platform_device *pdev, extern int qcom_cc_probe_by_index(struct platform_device *pdev, int index, const struct qcom_cc_desc *desc); extern const struct clk_ops clk_dummy_ops; void qcom_cc_sync_state(struct device *dev, const struct qcom_cc_desc *desc); #endif drivers/clk/qcom/dispcc-lahaina.c +6 −0 Original line number Diff line number Diff line Loading @@ -1567,11 +1567,17 @@ static int disp_cc_lahaina_probe(struct platform_device *pdev) return ret; } static void disp_cc_lahaina_sync_state(struct device *dev) { qcom_cc_sync_state(dev, &disp_cc_lahaina_desc); } static struct platform_driver disp_cc_lahaina_driver = { .probe = disp_cc_lahaina_probe, .driver = { .name = "disp_cc-lahaina", .of_match_table = disp_cc_lahaina_match_table, .sync_state = disp_cc_lahaina_sync_state, }, }; Loading drivers/clk/qcom/gcc-lahaina.c +6 −0 Original line number Diff line number Diff line Loading @@ -4498,11 +4498,17 @@ static int gcc_lahaina_probe(struct platform_device *pdev) return ret; } static void gcc_lahaina_sync_state(struct device *dev) { qcom_cc_sync_state(dev, &gcc_lahaina_desc); } static struct platform_driver gcc_lahaina_driver = { .probe = gcc_lahaina_probe, .driver = { .name = "lahaina-gcc", .of_match_table = gcc_lahaina_match_table, .sync_state = gcc_lahaina_sync_state, }, }; Loading Loading
drivers/clk/qcom/camcc-lahaina.c +6 −0 Original line number Diff line number Diff line Loading @@ -3007,11 +3007,17 @@ static int cam_cc_lahaina_probe(struct platform_device *pdev) return ret; } static void cam_cc_lahaina_sync_state(struct device *dev) { qcom_cc_sync_state(dev, &cam_cc_lahaina_desc); } static struct platform_driver cam_cc_lahaina_driver = { .probe = cam_cc_lahaina_probe, .driver = { .name = "lahaina-cam_cc", .of_match_table = cam_cc_lahaina_match_table, .sync_state = cam_cc_lahaina_sync_state, }, }; Loading
drivers/clk/qcom/common.c +7 −0 Original line number Diff line number Diff line Loading @@ -354,4 +354,11 @@ int qcom_cc_probe_by_index(struct platform_device *pdev, int index, } EXPORT_SYMBOL_GPL(qcom_cc_probe_by_index); void qcom_cc_sync_state(struct device *dev, const struct qcom_cc_desc *desc) { dev_info(dev, "sync-state\n"); clk_sync_state(dev); } EXPORT_SYMBOL(qcom_cc_sync_state); MODULE_LICENSE("GPL v2");
drivers/clk/qcom/common.h +1 −0 Original line number Diff line number Diff line Loading @@ -74,4 +74,5 @@ extern int qcom_cc_probe(struct platform_device *pdev, extern int qcom_cc_probe_by_index(struct platform_device *pdev, int index, const struct qcom_cc_desc *desc); extern const struct clk_ops clk_dummy_ops; void qcom_cc_sync_state(struct device *dev, const struct qcom_cc_desc *desc); #endif
drivers/clk/qcom/dispcc-lahaina.c +6 −0 Original line number Diff line number Diff line Loading @@ -1567,11 +1567,17 @@ static int disp_cc_lahaina_probe(struct platform_device *pdev) return ret; } static void disp_cc_lahaina_sync_state(struct device *dev) { qcom_cc_sync_state(dev, &disp_cc_lahaina_desc); } static struct platform_driver disp_cc_lahaina_driver = { .probe = disp_cc_lahaina_probe, .driver = { .name = "disp_cc-lahaina", .of_match_table = disp_cc_lahaina_match_table, .sync_state = disp_cc_lahaina_sync_state, }, }; Loading
drivers/clk/qcom/gcc-lahaina.c +6 −0 Original line number Diff line number Diff line Loading @@ -4498,11 +4498,17 @@ static int gcc_lahaina_probe(struct platform_device *pdev) return ret; } static void gcc_lahaina_sync_state(struct device *dev) { qcom_cc_sync_state(dev, &gcc_lahaina_desc); } static struct platform_driver gcc_lahaina_driver = { .probe = gcc_lahaina_probe, .driver = { .name = "lahaina-gcc", .of_match_table = gcc_lahaina_match_table, .sync_state = gcc_lahaina_sync_state, }, }; Loading