linux_dsm_epyc7002/drivers/media/cec
Hans Verkuil 1b3963509a media: cec: improve debugging
cec_transmit_msg_fh() first checked the message for errors, and only
after the message was found to be valid did it log the message contents.

However, that makes it hard to associate an error in the kernel log with
the message since the message contents was never logged in that case.

So swap the order: first log the message (once some very basic checks
are done), and only after that check for errors.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-02-26 08:12:49 -05:00
..
cec-adap.c media: cec: improve debugging 2018-02-26 08:12:49 -05:00
cec-api.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-core.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-edid.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-notifier.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-pin-priv.h media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-pin.c media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
cec-priv.h media: cec: add SPDX license info 2018-02-14 13:16:03 -05:00
Kconfig media fixes for v4.12-rc4 2017-06-07 07:50:49 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00