Skip to content

Commit a2df9d0

Browse files
pH5mchehab
authored andcommitted
media: rc: sunxi-cir: explicitly request exclusive reset control
Commit a53e35d ("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 <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent a4b8024 commit a2df9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/rc/sunxi-cir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static int sunxi_ir_probe(struct platform_device *pdev)
173173
}
174174

175175
/* Reset (optional) */
176-
ir->rst = devm_reset_control_get_optional(dev, NULL);
176+
ir->rst = devm_reset_control_get_optional_exclusive(dev, NULL);
177177
if (IS_ERR(ir->rst))
178178
return PTR_ERR(ir->rst);
179179
ret = reset_control_deassert(ir->rst);

0 commit comments

Comments
 (0)