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)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Mar 2018 09:06:20 +0000 (04:06 -0500)
commit5ceade1d97fc6687e050c44c257382c192f56276
tree3407697e17ddcb4b0dc11694cddb4731af2bcea0
parent5da1a68227feffd65bb7f20733afbe5134da6386
media: cx23885: Set subdev host data to clk_freq pointer

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