|
@@ -1,6 +1,7 @@
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
/*
|
|
|
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*/
|
|
|
|
|
|
#include <linux/of_platform.h>
|
|
@@ -106,7 +107,7 @@ int bolero_rsc_clk_reset(struct device *dev, int clk_id)
|
|
|
int count = 0;
|
|
|
|
|
|
if (!dev) {
|
|
|
- pr_err("%s: dev is null %d\n", __func__);
|
|
|
+ pr_err("%s: dev is null\n", __func__);
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
@@ -153,7 +154,7 @@ void bolero_clk_rsc_enable_all_clocks(struct device *dev, bool enable)
|
|
|
int i = 0;
|
|
|
|
|
|
if (!dev) {
|
|
|
- pr_err("%s: dev is null %d\n", __func__);
|
|
|
+ pr_err("%s: dev is null\n", __func__);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -455,7 +456,7 @@ void bolero_clk_rsc_fs_gen_request(struct device *dev, bool enable)
|
|
|
struct bolero_clk_rsc *priv = NULL;
|
|
|
|
|
|
if (!dev) {
|
|
|
- pr_err("%s: dev is null %d\n", __func__);
|
|
|
+ pr_err("%s: dev is null\n", __func__);
|
|
|
return;
|
|
|
}
|
|
|
clk_dev = bolero_get_rsc_clk_device_ptr(dev->parent);
|
|
@@ -531,7 +532,7 @@ int bolero_clk_rsc_request_clock(struct device *dev,
|
|
|
bool mux_switch = false;
|
|
|
|
|
|
if (!dev) {
|
|
|
- pr_err("%s: dev is null %d\n", __func__);
|
|
|
+ pr_err("%s: dev is null\n", __func__);
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
if ((clk_id_req < 0 || clk_id_req >= MAX_CLK) &&
|