]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Oct 2018 12:57:12 +0000 (14:57 +0200)
commit6ea1cd031d8aeafe129e06f70df5f23b8484fdee
treee951f12d52081dec7598c3e65438533b57e780ae
parented4837385a8a95fea9003855cd9ed8d7f4f22ff1
ARM: davinci: board-dm646x-evm: set VPIF capture card name

BugLink: http://bugs.launchpad.net/bugs/1794889
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/arm/mach-davinci/board-dm646x-evm.c