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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:56 +0000 (16:17 +0200)
commit5ebcb461274843c4f2d7c6de68ab05caddedd091
tree2d73ddaee61641f9cc2f991416f38ba96f4f5e50
parent24858b9c030ae48d876f9102a142f69c696762e5
media: cx23885: Set subdev host data to clk_freq pointer

[ 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>
drivers/media/pci/cx23885/cx23885-cards.c