public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] [media] ite-cir: make IR receive work after resume
@ 2011-05-09 18:57 Juan Jesús García de Soria Lucena
  2011-05-09 19:45 ` Jarod Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Juan Jesús García de Soria Lucena @ 2011-05-09 18:57 UTC (permalink / raw)
  To: Jarod Wilson, linux-media

Hi Jarod, and thanks for looking at this.

El 09/05/2011 20:28, "Jarod Wilson" <jarod@redhat.com> escribió:
> --- a/drivers/media/rc/ite-cir.c
> +++ b/drivers/media/rc/ite-cir.c
> @@ -1684,6 +1684,8 @@ static int ite_resume(struct pnp_dev *pdev)
>                /* wake up the transmitter */
>                wake_up_interruptible(&dev->tx_queue);
>        } else {
> +               /* reinitialize hardware config registers */
> +               dev->params.init_hardware(dev);
>                /* enable the receiver */
>                dev->params.enable_rx(dev);
>        }
> --
> 1.7.1
>

But... wouldn't the hardware initialization be required too if the hardware got suspended while doing TX? I mean, probably the call to init_hardware() should be done in any case, just before the if... (forgive me if I'm off target; I'm looking at the code as I remember it, since I don't have it before me right now).

Best regards,

   Juan Jesús.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-09 20:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-09 18:57 [PATCH] [media] ite-cir: make IR receive work after resume Juan Jesús García de Soria Lucena
2011-05-09 19:45 ` Jarod Wilson
2011-05-09 19:59   ` [PATCH] [media] ite-cir: finish tx before suspending Jarod Wilson
2011-05-09 20:07     ` Jarod Wilson
2011-05-09 20:00   ` [PATCH] [media] ite-cir: make IR receive work after resume Juan Jesús García de Soria Lucena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox