From: Jarod Wilson Date: Mon, 9 May 2011 14:48:33 +0000 (-0300) Subject: [media] ite-cir: make IR receive work after resume X-Git-Tag: v3.0-rc1~322^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae7b4d4bb5d6769ba64cdfca9d8e77dd4e671f6d;p=pandora-kernel.git [media] ite-cir: make IR receive work after resume 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 the nuvoton-cir driver. I've not tested with any other ITE variant, but code inspection suggests this should be safe on all variants. Reported-by: Stephan Raue CC: Juan Jesús García de Soria Signed-off-by: Jarod Wilson Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed