video/rockchip: rga: remove log printing of unknown ioctl cmd

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: If1f17ecd83c32e1d021f0445b65379a39ea9aec8
This commit is contained in:
Yu Qiaowei
2022-12-08 11:35:10 +08:00
committed by Tao Huang
parent 5893da2a48
commit bbab2e43b6

View File

@@ -1594,7 +1594,7 @@ static long rga_ioctl(struct file *file, uint32_t cmd, unsigned long arg)
memset(&req, 0x0, sizeof(req));
#if RGA_DEBUGFS
if (RGA_TEST_MSG)
DBG("cmd is %s\n", rga_get_cmd_mode_str(cmd));
DBG("cmd is %s(0x%x)\n", rga_get_cmd_mode_str(cmd), cmd);
if (RGA_NONUSE) {
mutex_unlock(&rga_service.mutex);
return 0;
@@ -1651,7 +1651,6 @@ static long rga_ioctl(struct file *file, uint32_t cmd, unsigned long arg)
ret = copy_to_user((void *)arg, rga_drvdata->version, 16);
break;
default:
ERR("unknown ioctl cmd!\n");
ret = -EINVAL;
break;
}