]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] cec: log reason for returning -EINVAL
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 20 Feb 2017 20:19:13 +0000 (17:19 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 22 Mar 2017 14:15:23 +0000 (11:15 -0300)
commit79cabaa320d7ba07a233afb944dd151d26b7ddbd
tree23330dba34f7ab95614414ead0a21f67966902ab
parent25c2107896c5094318f04af8f975266e57d15528
[media] cec: log reason for returning -EINVAL

When validating the struct cec_s_log_addrs input a debug message is printed
for all except two of the 'return -EINVAL' paths.

Also log the reason for the missing two paths.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/cec/cec-adap.c