]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: davinci: board-dm646x-evm: set VPIF capture card name
authorSekhar Nori <nsekhar@ti.com>
Fri, 11 May 2018 15:21:36 +0000 (20:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:45 +0000 (04:01 +0900)
commitfca8af7b722dac14b548376c0be8d145695ea336
tree77ba33221efa788c8a56a801e0c451ecdfefd4c1
parentae7151af409820e28b699d7eeb282f5cbb51d985
ARM: davinci: board-dm646x-evm: set VPIF capture card name

[ Upstream commit bb7298a7e87cf3430eb62be8746e5d7a07ca9d7c ]

VPIF capture driver expects card name to be set since it
uses it without checking for NULL. The commit which
introduced VPIF display and capture support added card
name only for display, not for capture.

Set it in platform data to probe driver successfully.

While at it, also fix the display card name to something more
appropriate.

Fixes: 85609c1ccda6 ("DaVinci: DM646x - platform changes for vpif capture and display drivers")
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-davinci/board-dm646x-evm.c