Skip to content

Commit a4b8024

Browse files
pH5mchehab
authored andcommitted
media: st-rc: 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: Patrice Chotard <[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 8728427 commit a4b8024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/rc/st_rc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static int st_rc_probe(struct platform_device *pdev)
280280
else
281281
rc_dev->rx_base = rc_dev->base;
282282

283-
rc_dev->rstc = reset_control_get_optional(dev, NULL);
283+
rc_dev->rstc = reset_control_get_optional_exclusive(dev, NULL);
284284
if (IS_ERR(rc_dev->rstc)) {
285285
ret = PTR_ERR(rc_dev->rstc);
286286
goto err;

0 commit comments

Comments
 (0)