Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 4.19 01/14] clk: qcom: rcg: Return failure for RCG update
@ 2020-04-02 19:12 Lee Jones
  2020-04-02 19:12 ` [PATCH 4.19 02/14] drm/msm: stop abusing dma_map/unmap for cache Lee Jones
                   ` (13 more replies)
  0 siblings, 14 replies; 17+ messages in thread
From: Lee Jones @ 2020-04-02 19:12 UTC (permalink / raw)
  To: stable

From: Taniya Das <tdas@codeaurora.org>

[ Upstream commit 21ea4b62e1f3dc258001a68da98c9663a9dbd6c7 ]

In case of update config failure, return -EBUSY, so that consumers could
handle the failure gracefully.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lkml.kernel.org/r/1557339895-21952-2-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/clk/qcom/clk-rcg2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c
index ee693e15d9ebc..f420f0c968775 100644
--- a/drivers/clk/qcom/clk-rcg2.c
+++ b/drivers/clk/qcom/clk-rcg2.c
@@ -105,7 +105,7 @@ static int update_config(struct clk_rcg2 *rcg)
 	}
 
 	WARN(1, "%s: rcg didn't update its configuration.", name);
-	return 0;
+	return -EBUSY;
 }
 
 static int clk_rcg2_set_parent(struct clk_hw *hw, u8 index)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-04-03  9:21 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-02 19:12 [PATCH 4.19 01/14] clk: qcom: rcg: Return failure for RCG update Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 02/14] drm/msm: stop abusing dma_map/unmap for cache Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 03/14] arm64: Fix size of __early_cpu_boot_status Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 04/14] drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read() Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 05/14] wil6210: check rx_buff_mgmt before accessing it Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 06/14] wil6210: ignore HALP ICR if already handled Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 07/14] wil6210: add general initialization/size checks Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 08/14] wil6210: make sure Rx ring sizes are correlated Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 09/14] rpmsg: glink: Remove chunk size word align warning Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 10/14] wil6210: remove reset file from debugfs Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 11/14] perf/core: Reattach a misplaced comment Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 12/14] mm/vmalloc.c: move 'area->pages' after if statement Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 13/14] usb: dwc3: don't set gadget->is_otg flag Lee Jones
2020-04-02 19:12 ` [PATCH 4.19 14/14] lib/list_sort: simplify and remove MAX_LIST_LENGTH_BITS Lee Jones
2020-04-03  9:13   ` Greg KH
2020-04-03  9:22     ` Lee Jones
2020-04-03  9:12 ` [PATCH 4.19 01/14] clk: qcom: rcg: Return failure for RCG update Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox