Skip to content

Commit 5da1a68

Browse files
b-rad-NDimchehab
authored andcommitted
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: Brad Love <brad@nextdimension.cc> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent 3ee9bc1 commit 5da1a68

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/media/pci/cx23885/cx23885-core.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -839,10 +839,10 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
839839

840840
/* Configure the internal memory */
841841
if (dev->pci->device == 0x8880) {
842-
/* Could be 887 or 888, assume a default */
843-
dev->bridge = CX23885_BRIDGE_887;
842+
/* Could be 887 or 888, assume an 888 default */
843+
dev->bridge = CX23885_BRIDGE_888;
844844
/* Apply a sensible clock frequency for the PCIe bridge */
845-
dev->clk_freq = 25000000;
845+
dev->clk_freq = 50000000;
846846
dev->sram_channels = cx23887_sram_channels;
847847
} else
848848
if (dev->pci->device == 0x8852) {

0 commit comments

Comments
 (0)