Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99d38909 authored by Steven Toth's avatar Steven Toth Committed by Mauro Carvalho Chehab
Browse files

[media] cx25840: enable raw cc processing only for the cx23885 hardware



This change is probably good for other boards also, but the change
has limited scope and is reasonably safe.

Signed-off-by: default avatarSteven Toth <stoth@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f88fb8e9
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -702,6 +702,13 @@ static void cx231xx_initialize(struct i2c_client *client)

	/* start microcontroller */
	cx25840_and_or(client, 0x803, ~0x10, 0x10);

	/* CC raw enable */
	cx25840_write(client, 0x404, 0x0b);

	/* CC on */
	cx25840_write(client, 0x42f, 0x66);
	cx25840_write4(client, 0x474, 0x1e1e601a);
}

/* ----------------------------------------------------------------------- */