]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] si2168: do not set values which are already on default
authorAntti Palosaari <crope@iki.fi>
Fri, 11 Jul 2014 13:28:44 +0000 (10:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 15 Jul 2014 00:07:03 +0000 (21:07 -0300)
commit982c6238cfb88551dc0aa730c94acfae06b25412
tree65b734ee0df14fb6a70be0366038116aeed854db
parent93f726396db152ba7f60edd4c0faa096ff772318
[media] si2168: do not set values which are already on default

No need to set explicitly value that are already defaulted same.

Setting new value returns old value. Firmware default values can
be found just looking returned value.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/si2168.c