linux-stable/drivers/media/platform
Petr Cvek ce550362c5 [media] pxa_camera: Fix a call with an uninitialized device pointer
In 'commit 295ab497d6 ("[media] media: platform: pxa_camera: make
printk consistent")' a pointer to the device structure in
mclk_get_divisor() was changed to pcdev_to_dev(pcdev). The pointer used
by pcdev_to_dev() is still uninitialized during the call to
mclk_get_divisor() as it happens in v4l2_device_register() at the end
of the probe. The dev_warn and dev_dbg caused a line in the log:

	(NULL device *): Limiting master clock to 26000000

Fix this by using an initialized pointer from the platform_device
(as before the old patch).

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-06 07:41:10 -03:00
..
am437x [media] am437x-vpfe: always assign bpp variable 2017-01-30 15:43:40 -02:00
atmel [media] atmel-isc: Set the default DMA memory burst size 2017-06-06 07:26:55 -03:00
blackfin [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
coda [media] coda: bump maximum number of internal framebuffers to 17 2017-04-19 07:44:50 -03:00
davinci [media] media: vpif: use a configurable i2c_adapter_id for vpif display 2017-03-22 11:55:56 -03:00
exynos-gsc [media] exynos-gsc: Do not swap cb/cr for semi planar formats 2017-03-22 09:50:07 -03:00
exynos4-is [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
marvell-ccic [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
mtk-jpeg [media] vcodec: mediatek: mark pm functions as __maybe_unused 2017-04-10 06:43:10 -03:00
mtk-mdp [media] mtk-mdp: allocate video_device dynamically 2016-11-22 05:42:29 -02:00
mtk-vcodec [media] mtk_vcodec_dec: return error at mtk_vdec_pic_info_update() 2017-05-19 07:12:05 -03:00
mtk-vpu IOMMU Updates for Linux v4.12 2017-05-09 15:15:47 -07:00
omap Linux 4.9-rc5 2016-11-16 16:42:27 -02:00
omap3isp omap3isp: Remove iommu_group related code 2017-04-20 16:33:59 +02:00
rcar-vin
s3c-camif [media] media: platform: s3c-camif: constify v4l2_subdev_ops structures 2017-02-03 10:58:00 -02:00
s5p-cec [media] s5p-cec: remove unused including <linux/version.h> 2017-05-18 07:32:40 -03:00
s5p-g2d [media] s5p-g2d: Fix error handling 2017-04-05 16:37:15 -03:00
s5p-jpeg [media] s5p-jpeg: don't return a random width/height 2017-05-19 07:10:50 -03:00
s5p-mfc [media] s5p-mfc: Don't allocate codec buffers from pre-allocated region 2017-04-05 16:36:53 -03:00
soc_camera [media] soc_camera: annotate a switch fall through 2017-05-19 09:03:32 -03:00
sti [media] c8sectpfe: use setup_timer 2017-04-10 14:56:17 -03:00
stm32 [media] stm32-dcmi: STM32 DCMI camera interface driver 2017-06-06 06:49:32 -03:00
ti-vpe [media] media: ti-vpe: vpe: allow use of user specified stride 2017-03-03 14:43:32 -03:00
vimc [media] vimc: Virtual Media Controller core, capture and sensor 2017-04-14 23:05:13 -03:00
vivid [media] cec: Kconfig cleanup 2017-04-19 06:50:52 -03:00
vsp1 [media] vsp1: set V4L2_CTRL_FLAG_MODIFY_LAYOUT for histogram controls 2017-04-14 22:55:54 -03:00
xilinx [media] media: platform: xilinx: xilinx-tpg: constify v4l2_subdev_* structures 2017-02-03 09:21:50 -02:00
arv.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
fsl-viu.c [media] fsl-viu: use setup_timer 2017-04-10 14:55:57 -03:00
Kconfig [media] stm32-dcmi: STM32 DCMI camera interface driver 2017-06-06 06:49:32 -03:00
m2m-deinterlace.c [media] m2m-deinterlace: don't return zero on failure paths in deinterlace_probe() 2017-04-10 14:43:31 -03:00
Makefile [media] stm32-dcmi: STM32 DCMI camera interface driver 2017-06-06 06:49:32 -03:00
mx2_emmaprp.c
pxa_camera.c [media] pxa_camera: Fix a call with an uninitialized device pointer 2017-06-06 07:41:10 -03:00
rcar-fcp.c [media] v4l: rcar-fcp: Fix module autoload for OF registration 2016-11-16 13:17:07 -02:00
rcar_fdp1.c [media] v4l: rcar_fdp1: use %4.4s to format a 4-byte string 2017-02-03 11:50:40 -02:00
rcar_jpu.c
sh_veu.c
sh_vou.c [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
via-camera.c
via-camera.h
vim2m.c [media] vim2m: Clean up file handle in open() error path 2017-01-31 07:44:26 -02:00