summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/sunxi-cir.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-07-19 11:25:41 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 09:48:41 -0400
commita2df9d064336ba62b810639114c06b2b0bfe3e0b (patch)
tree20e4f4356f04bbcb02a64c22292bf6863fecddce /drivers/media/rc/sunxi-cir.c
parenta4b80242d0467f58c7c273f62b2db73bf90956d1 (diff)
downloadblackbird-op-linux-a2df9d064336ba62b810639114c06b2b0bfe3e0b.tar.gz
blackbird-op-linux-a2df9d064336ba62b810639114c06b2b0bfe3e0b.zip
media: rc: sunxi-cir: explicitly request exclusive reset control
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: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/sunxi-cir.c')
-rw-r--r--drivers/media/rc/sunxi-cir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c
index 87933eb14205..f619b76273be 100644
--- a/drivers/media/rc/sunxi-cir.c
+++ b/drivers/media/rc/sunxi-cir.c
@@ -173,7 +173,7 @@ static int sunxi_ir_probe(struct platform_device *pdev)
}
/* Reset (optional) */
- ir->rst = devm_reset_control_get_optional(dev, NULL);
+ ir->rst = devm_reset_control_get_optional_exclusive(dev, NULL);
if (IS_ERR(ir->rst))
return PTR_ERR(ir->rst);
ret = reset_control_deassert(ir->rst);
OpenPOWER on IntegriCloud