Commit 5da1a682 authored by Brad Love's avatar Brad Love Committed by Mauro Carvalho Chehab

media: cx23885: change 887/888 default to 888

Proper cx2388x chip type is detected in cx25840 probe, the clock
rate is untouched however in probe. The cx25840 only checks for
non default clock values for 888 and provides custom settings for
25MHz 888. This change ensures that cx23888 chips with default 50MHz
crystals will not get configured as if they have 25MHz crystals. A
cx23887 board will continue to be configured for 25MHz crystal as
there is no custom clock support included for it.
Signed-off-by: default avatarBrad Love <brad@nextdimension.cc>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 3ee9bc12
...@@ -839,10 +839,10 @@ static int cx23885_dev_setup(struct cx23885_dev *dev) ...@@ -839,10 +839,10 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
/* Configure the internal memory */ /* Configure the internal memory */
if (dev->pci->device == 0x8880) { if (dev->pci->device == 0x8880) {
/* Could be 887 or 888, assume a default */ /* Could be 887 or 888, assume an 888 default */
dev->bridge = CX23885_BRIDGE_887; dev->bridge = CX23885_BRIDGE_888;
/* Apply a sensible clock frequency for the PCIe bridge */ /* Apply a sensible clock frequency for the PCIe bridge */
dev->clk_freq = 25000000; dev->clk_freq = 50000000;
dev->sram_channels = cx23887_sram_channels; dev->sram_channels = cx23887_sram_channels;
} else } else
if (dev->pci->device == 0x8852) { if (dev->pci->device == 0x8852) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment