[media] adv7180: Do not request the IRQ again during resume
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 23 Jan 2015 15:52:20 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 13:15:03 +0000 (11:15 -0200)
commitfa5721d159bb1da086d85c34f358282d4ae07093
treee892fb709b6fce3f819280c9598913820bcc9ee3
parent24692801a4d03dabb64e38b10d089beb3710be9d
[media] adv7180: Do not request the IRQ again during resume

Currently the IRQ is requested from within the init_device() function. This
function is not only called during device probe, but also during resume
causing the driver to try to request the IRQ again. Move requesting the IRQ
from init_device() to the probe function to make sure that it is only
requested once.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Federico Vaga <federico.vaga@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7180.c