Re: [PATCH] [media] ite-cir: make IR receive work after resume

2011-05-09 Thread Juan Jesús García de Soria Lucena
Hi again, El lun, 09-05-2011 a las 15:45 -0400, Jarod Wilson escribió: > Well, looking at the resume function, I wasn't sure if I wanted to > mess with things while it was possibly trying to finish up tx, but > upon closer inspection, I don't think we can ever get into the > state where we're actu

Re: [PATCH] [media] ite-cir: make IR receive work after resume

2011-05-09 Thread Jarod Wilson
Juan Jesús García de Soria Lucena wrote: Hi Jarod, and thanks for looking at this. El 09/05/2011 20:28, "Jarod Wilson" 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 tr

Re: [PATCH] [media] ite-cir: make IR receive work after resume

2011-05-09 Thread Juan Jesús García de Soria Lucena
Hi Jarod, and thanks for looking at this. El 09/05/2011 20:28, "Jarod Wilson" 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

Re: [PATCH] [media] ite-cir: make IR receive work after resume

2011-05-09 Thread Jarod Wilson
Jarod Wilson wrote: Just recently acquired an Asus Eee Box PC with an onboard IR receiver driven by ite-cir (ITE8713 sub-variant). Works out of the box with the ite-cir driver in 2.6.39, but stops working after a suspend/resume cycle. Its fixed by simply reinitializing registers after resume, sim

[PATCH] [media] ite-cir: make IR receive work after resume

2011-05-09 Thread Jarod Wilson
Just recently acquired an Asus Eee Box PC with an onboard IR receiver driven by ite-cir (ITE8713 sub-variant). Works out of the box with the ite-cir driver in 2.6.39, but stops working after a suspend/resume cycle. Its fixed by simply reinitializing registers after resume, similar to what's done in