summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-bcm2836.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-02-12 21:18:03 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-03-03 08:47:17 -0300
commit174ced212c1014cded05c35ff22a970fac3da3ca (patch)
tree27f8ae7d26d6484c42868bda2f02a1436568df07 /drivers/irqchip/irq-bcm2836.c
parentb21d29e08cc3424622e0b0d800307e254951f425 (diff)
downloadblackbird-op-linux-174ced212c1014cded05c35ff22a970fac3da3ca.tar.gz
blackbird-op-linux-174ced212c1014cded05c35ff22a970fac3da3ca.zip
[media] media: au0828 set ctrl_input in au0828_s_input()
dev->ctrl_input is set in vidioc_s_input() and doesn't get set in au0828_s_input(). As a result, dev->ctrl_input is left uninitialized until user space calls s_input. It works correctly because the default input value is 0 and which is what dev->ctrl_input gets initialized via kzalloc(). Change to set dev->ctrl_input in au0828_s_input(). Also optimize vidioc_s_input() to return if the new input value is same as the current. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/irqchip/irq-bcm2836.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud