]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] ite-cir: finish tx before suspending
authorJarod Wilson <jarod@redhat.com>
Mon, 9 May 2011 19:53:17 +0000 (16:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 18:58:28 +0000 (15:58 -0300)
commitc812045488afbe3830843fc6686ae84bfc928a5f
treee6425199ac610a8e7cdca9b4f30a929add51d86a
parentf0c1629dca6ffd8b1b07654704ac56c5a63270e3
[media] ite-cir: finish tx before suspending

Continuing with IR transmit after resuming from suspend seems fairly
useless, given that the only place we can actually end up suspending is
after IR has been send and we're simply mdelay'ing. Lets simplify the
resume path by just waiting on tx to complete in the suspend path, then
we know we can't be transmitting on resume, and reinitialization of the
hardware registers becomes more straight-forward.

CC: Juan Jesús García de Soria <skandalfo@gmail.com>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ite-cir.c