media: atomisp: don't flood dmesg with -EAGAIN return codes
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 21 May 2020 08:04:49 +0000 (10:04 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 15:59:19 +0000 (17:59 +0200)
commit9c30f50d14c8779465bc8eb5e2b68fd840ca77f4
treee1a3acf299e5ae7c5b7964fd8412094a5dd7fd1e
parent171b7bd66ab85437d377878650d2e4bcef2fee68
media: atomisp: don't flood dmesg with -EAGAIN return codes

Using DQBUF on non-blocking mode will return -EAGAIN
if nothing arrives. Printing it has no value, even for debug
purposes. So, only display real return codes.

Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_ioctl.c