diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2020-03-12 13:31:49 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-03-12 18:38:51 +0300 |
commit | 96ca7c412a2cef7e6407836152f62a539a709470 (patch) | |
tree | 82ddf7955a8ac95a719cdca664bc966d012a485a /block/genhd.c | |
parent | 46fe6e7dcededcf4aba88163fee80f4f7df23deb (diff) | |
download | linux-96ca7c412a2cef7e6407836152f62a539a709470.tar.xz |
media: tvp5150: initialize subdev before parsing device tree
There are several debug prints in the tvp5150_parse_dt() function, which
do not print the prefix, because the v4l2_subdev is not initialized, yet.
Initialize the v4l2_subdev before parsing the device tree to fix the
debug messages.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions