diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-16 11:35:08 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-18 13:04:58 +0100 |
commit | a41231d52ff755597d67ce83bb36e16c47dfec91 (patch) | |
tree | 260275d0ad83390d1fd76972273d9e7c70842346 /README | |
parent | [media] tuner-core: use pr_foo, instead of internal printk macros (diff) | |
download | linux-a41231d52ff755597d67ce83bb36e16c47dfec91.tar.xz linux-a41231d52ff755597d67ce83bb36e16c47dfec91.zip |
[media] v4l2-common: add a debug macro to be used with dev_foo()
Currently, there's a mess at the V4L2 printk macros: some drivers
use their own macros, others use pr_foo() or v4l_foo() macros,
while more modern drivers use dev_foo() macros.
The best is to get rid of v4l_foo() macros, as they can be
replaced by either dev_foo() or pr_foo(). Yet, such change can
be disruptive, as dev_foo() cannot use KERN_CONT. So, the best
is to do such change driver by driver.
There are replacements for most v4l_foo() macros, but it lacks
a way to enable debug messages per level. So, add such macro,
in order to make the conversion easier.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions