]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: cx23885: Set subdev host data to clk_freq pointer
authorBrad Love <brad@nextdimension.cc>
Tue, 6 Mar 2018 19:15:36 +0000 (14:15 -0500)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:29:37 +0000 (12:29 +0200)
commitbabd09d33582e90b6b78163cc53545283f73098e
tree9a864d2f542fc43587283768809b89361c57987b
parent3aee9a148dbcb0652fd85fe84d0b96fb3db4a0cf
media: cx23885: Set subdev host data to clk_freq pointer

BugLink: http://bugs.launchpad.net/bugs/1783418
[ Upstream commit 5ceade1d97fc6687e050c44c257382c192f56276 ]

Currently clk_freq is ignored entirely, because the cx235840 driver
configures the xtal at the chip defaults. This is an issue if a
board is produced with a non-default frequency crystal. If clk_freq
is not zero the cx25840 will attempt to use the setting provided,
or fall back to defaults otherwise.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.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: Khalid Elmously <khalid.elmously@canonical.com>
drivers/media/pci/cx23885/cx23885-cards.c