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:03:00 +0000 (04:03 +0900)
commit0c5dfa51caf77461da90b3af1f1ec28490255bc0
tree29a428b9486db5181be74f3bcad7738d33dc3652
parenteb6b0d6987fc58c5dc79abba8a82e1fe999ef602
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