b0e74e5e1b0340395bde4bac1c032708feac494d
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0706-media-i2c-tc358743-Fix-fallthrough-warning.patch
1 From e09aaa8b2074bfa1656f1af09357b26c87e39988 Mon Sep 17 00:00:00 2001
2 From: Jacko Dirks <jdirks.linuxdev@gmail.com>
3 Date: Tue, 5 May 2020 14:28:14 +0200
4 Subject: [PATCH] media: i2c: tc358743: Fix fallthrough warning
5
6 Signed-off-by: Jacko Dirks <jdirks.linuxdev@gmail.com>
7 ---
8 drivers/media/i2c/tc358743.c | 1 +
9 1 file changed, 1 insertion(+)
10
11 --- a/drivers/media/i2c/tc358743.c
12 +++ b/drivers/media/i2c/tc358743.c
13 @@ -2002,6 +2002,7 @@ static int tc358743_probe_of(struct tc35
14 switch (bps_pr_lane) {
15 default:
16 dev_warn(dev, "untested bps per lane: %u bps\n", bps_pr_lane);
17 + /* fall through */
18 case 594000000U:
19 state->pdata.lineinitcnt = 0xe80;
20 state->pdata.lptxtimecnt = 0x003;