]> git.baikalelectronics.ru Git - kernel.git/commit
media: em28xx: improve the logic with sets Xclk and I2C speed
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 1 Mar 2018 14:59:28 +0000 (09:59 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 09:41:58 +0000 (04:41 -0500)
commit629ae6fc7f022600d2bf2df23002a24a3d587142
tree1792d5764dfe848861c2e444fab6ee7f5eeba54b
parentd5ffabc272e4f39cd2bb5593395fd1f48e6ed8c7
media: em28xx: improve the logic with sets Xclk and I2C speed

The logic there should be called on two places. Also,
ideally, it should not be modifying the device struct.

So, change the logic accordingly.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/em28xx/em28xx-cards.c