media: atmel: atmel-isc: make try_fmt error less verbose
authorEugen Hristev <eugen.hristev@microchip.com>
Mon, 15 Apr 2019 14:13:56 +0000 (10:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 21 May 2019 11:20:28 +0000 (07:20 -0400)
commit5490ba5645f27829e5c7f7c6fd3a9249cc14198e
treeed5f6cb75aa7faae1223c54c14d3a6da7d346f51
parent90a493a349177cf03070866b7bb3becd0aed7bf3
media: atmel: atmel-isc: make try_fmt error less verbose

In case the sensor refuses to set the format, avoid printing the error
message that no compatible format was found.
This means that the try_fmt will be less verbose.
The error will be printed only if really a format cannot be found.
Some application try all possible formats in a row (gstreamer e.g.)
which will flood the console with error messages until a working one is found.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/atmel/atmel-isc.c