media: suppress amstream_do_ioctl error messages [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Thu, 19 Nov 2020 06:36:49 +0000 (14:36 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 27 Nov 2020 07:14:48 +0000 (23:14 -0800)
PD#SWPL-36931

Problem:
open PIP,serial port has error printing

Solution:
suppress amstream_do_ioctl error messages by increase print level

Verify:
ah212

Change-Id: I55c773ad674491d94daebaad4980ba7c9728a188
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/stream_input/amports/amstream.c

index 376d47dec9bc1f6f594a715ad53939d35b51cc12..63b085044ce9cc7e06fd0e5f6518ecb281b54fab 100644 (file)
@@ -3638,7 +3638,7 @@ static long amstream_do_ioctl(struct port_priv_s *priv,
                break;
        }
        if (r != 0)
-               pr_err("amstream_do_ioctl error :%lx, %x\n", r, cmd);
+               pr_debug("amstream_do_ioctl error :%lx, %x\n", r, cmd);
 
        return r;
 }