2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/drivers/media/platform/davinci
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
..
ccdc_hw_device.h media: davinci: make function arguments const 2017-10-31 07:18:07 -04:00
dm355_ccdc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dm355_ccdc.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
dm644x_ccdc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dm644x_ccdc.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
isif_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
isif.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
Kconfig [media] davinci: Switch from V4L2 OF to V4L2 fwnode 2017-06-08 12:34:16 -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
vpbe_display.c media: davinci: do a couple of checkpatch cleanups 2017-09-23 14:55:27 -04:00
vpbe_osd_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_osd.c media: davinci: constify platform_device_id 2017-08-20 08:24:45 -04:00
vpbe_venc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_venc.c media: davinci: constify platform_device_id 2017-08-20 08:24:45 -04:00
vpbe.c media: DaVinci-VPBE: constify vpbe_dev_ops 2017-08-09 10:33:51 -04:00
vpfe_capture.c media: davinci: make function arguments const 2017-10-31 07:18:07 -04:00
vpif_capture.c media: davinci: fix a debug printk 2017-12-19 06:46:36 -05:00
vpif_capture.h [media] davinci: vpif_capture: fix start/stop streaming locking 2017-01-31 08:01:07 -02:00
vpif_display.c media: davinci: fix kernel-doc warnings 2017-11-30 04:18:53 -05:00
vpif_display.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:39:21 -03:00
vpif.c media: vpif: don't generate a kernel-doc warning on a constant 2017-11-27 10:35:33 -05:00
vpif.h [media] davinci: vpif: Fix module build for capture and display 2013-03-23 10:38:10 -03:00
vpss.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00