linux/drivers/media/platform/s5p-mfc
Marek Szyprowski 1e0d0a5fd3 media: s5p-mfc: fix incorrect bus assignment in virtual child device
Virtual MFC codec's child devices must not be assigned to platform bus,
because they are allocated as raw 'struct device' and don't have the
corresponding 'platform' part. This fixes NULL pointer access revealed
recently by commit a66d972465 ("devres: Align data[] to
ARCH_KMALLOC_MINALIGN").

Fixes: c79667dd93 ("media: s5p-mfc: replace custom reserved memory handling code with generic one")

Reported-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by:  Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-01-07 14:39:36 -05:00
..
Makefile
regs-mfc-v6.h
regs-mfc-v7.h
regs-mfc-v8.h media: s5p-mfc: Use min scratch buffer size as provided by F/W 2018-03-22 07:08:26 -04:00
regs-mfc-v10.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
regs-mfc.h
s5p_mfc_cmd_v5.c
s5p_mfc_cmd_v5.h
s5p_mfc_cmd_v6.c media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_cmd_v6.h
s5p_mfc_cmd.c
s5p_mfc_cmd.h
s5p_mfc_common.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_ctrl.c media: s5p-mfc: Use real device for request_firmware() call 2018-03-22 07:19:52 -04:00
s5p_mfc_ctrl.h
s5p_mfc_debug.h
s5p_mfc_dec.c media: s5p_mfc_dec.c: convert g_crop to g_selection 2018-11-20 13:47:46 -05:00
s5p_mfc_dec.h
s5p_mfc_enc.c media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
s5p_mfc_enc.h
s5p_mfc_intr.c
s5p_mfc_intr.h
s5p_mfc_iommu.h
s5p_mfc_opr_v5.c
s5p_mfc_opr_v5.h
s5p_mfc_opr_v6.c media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_opr_v6.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_opr.c
s5p_mfc_opr.h media: s5p-mfc: Add support for HEVC encoder 2018-03-22 07:19:23 -04:00
s5p_mfc_pm.c
s5p_mfc_pm.h
s5p_mfc.c media: s5p-mfc: fix incorrect bus assignment in virtual child device 2019-01-07 14:39:36 -05:00