aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski2024-08-20 13:40:15 +0200
committerPaul Kocialkowski2024-08-20 13:40:15 +0200
commitfb4133be8c7c4ef0299d2ec7dadd846c830fdd63 (patch)
tree16b5bc56c54dbf33fdef119f4bb9420fa4b43ddc
parent047116c8f35df36cbbfcc28384e94cbb44526ff1 (diff)
media: sunxi: cedar: Use proper reset call on corresponding ioctlsunxi/cedar/a33-support
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
-rw-r--r--drivers/staging/media/sunxi/cedar/ve/cedar_ve.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c b/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c
index ebd28ed1e366..16a20da05a1d 100644
--- a/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c
+++ b/drivers/staging/media/sunxi/cedar/ve/cedar_ve.c
@@ -689,8 +689,7 @@ static long compat_cedardev_ioctl(struct file *filp, unsigned int cmd,
break;
case IOCTL_RESET_VE:
- reset_control_assert(cedar_devp->rstc);
- reset_control_deassert(cedar_devp->rstc);
+ reset_control_reset(cedar_devp->rstc);
break;
case IOCTL_SET_DRAM_HIGH_CHANNAL: {