linux/drivers/media
Mauro Carvalho Chehab 4f6c11044f media: davinci: fix a debug printk
Two orthogonal changesets caused a breakage at a printk
inside davinci. Commit a2d17962c9
("[media] davinci: Switch from V4L2 OF to V4L2 fwnode")
made davinci to use struct fwnode_handle instead of
struct device_node. Commit 68d9c47b16
("media: Convert to using %pOF instead of full_name")
changed the printk to not use ->full_name, but, instead,
to rely on %pOF.

With both patches applied, the Kernel will do the wrong
thing, as warned by smatch:
	drivers/media/platform/davinci/vpif_capture.c:1399 vpif_async_bound() error: '%pOF' expects argument of type 'struct device_node*', argument 5 has type 'void*'

So, change the logic to actually print the device name
that was obtained before the print logic.

Fixes: 68d9c47b16 ("media: Convert to using %pOF instead of full_name")
Fixes: a2d17962c9 ("[media] davinci: Switch from V4L2 OF to V4L2 fwnode")

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-19 06:46:36 -05:00
..
cec media: cec: move cec autorepeat handling to rc-core 2017-12-14 10:35:30 -05:00
common media: v4l2-tpg.h: rename color structs 2017-12-18 12:29:05 -05:00
dvb-core media: dvb_net: let dynamic debug enable some DVB net handling 2017-12-19 06:30:22 -05:00
dvb-frontends media: dvb-frontends: fix i2c access helpers for KASAN 2017-12-15 11:53:50 -05:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: v4l2-subdev: better document IO pin configuration flags 2017-12-18 14:14:29 -05:00
mmc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci media: v4l2-subdev: better document IO pin configuration flags 2017-12-18 14:14:29 -05:00
platform media: davinci: fix a debug printk 2017-12-19 06:46:36 -05:00
radio media: radio-si476x: fix behavior when seek->range* are defined 2017-12-11 13:04:51 -05:00
rc media: ir-spi: add SPDX identifier 2017-12-18 15:22:50 -05:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: r820t: fix r820t_write_reg for KASAN 2017-12-15 11:53:45 -05:00
usb media: fix SPDX comment on some header files 2017-12-18 15:15:53 -05:00
v4l2-core media: vb2: unify calling of set_page_dirty_lock 2017-12-18 15:02:08 -05:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00