Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1692867

[PATCH v2 3/3] drm/bridge/synopsys: dsi: explicitly request exclusive reset control

From Philippe CORNU <philippe.cornu@st.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/3] drm/bridge/synopsys: dsi: explicitly request exclusive reset control
Date 2017-07-20 14:30 +0200
Message-ID <u5iKD-7kM-27@gated-at.bofh.it> (permalink)
References <u5iKD-7kM-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Based on patch "Convert drivers to explicit reset API" from Philipp Zabel

Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
reset lines") started to transition the reset control request API calls
to explicitly state whether the driver needs exclusive or shared reset
control behavior. Convert all drivers requesting exclusive resets to the
explicit API call so the temporary transition helpers can be removed.

No functional changes.

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Philippe CORNU <philippe.cornu@st.com>
---
 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
index 781340d..bb0bfa8 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
@@ -885,7 +885,7 @@ static int dw_mipi_dsi_bridge_attach(struct drm_bridge *bridge)
 	 * Note that the reset was not defined in the initial device tree, so
 	 * we have to be prepared for it not being found.
 	 */
-	apb_rst = devm_reset_control_get(dev, "apb");
+	apb_rst = devm_reset_control_get_exclusive(dev, "apb");
 	if (IS_ERR(apb_rst)) {
 		ret = PTR_ERR(apb_rst);
 		if (ret == -ENOENT) {
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 3/3] drm/bridge/synopsys: dsi: explicitly request exclusive reset control Philippe CORNU <philippe.cornu@st.com> - 2017-07-20 14:30 +0200
  Re: [PATCH v2 3/3] drm/bridge/synopsys: dsi: explicitly request  exclusive reset control Philipp Zabel <p.zabel@pengutronix.de> - 2017-07-20 14:50 +0200

csiph-web