1. 28 7月, 2011 1 次提交
  2. 02 7月, 2011 1 次提交
    • J
      [media] ite-cir: 8709 needs to use pnp resource 2 · 35d136c8
      Jarod Wilson 提交于
      Thanks to the intrepid testing and debugging of Matthijs van Drunen, it
      was uncovered that at least some variants of the ITE8709 need to use pnp
      resource 2, rather than 0, for things to function properly. Resource 0
      has a length of only 1, and if you try to bypass the pnp_port_len check
      and use it anyway (with either a length of 1 or 2), the system in
      question's trackpad ceased to function.
      
      The circa lirc 0.8.7 lirc_ite8709 driver used resource 2, but the value
      was (amusingly) changed to 0 by way of a patch from ITE themselves, so I
      don't know if there may be variants where 0 actually *is* correct, but
      at least in this case and in the original lirc_ite8709 driver author's
      case, it sure looks like 2 is the right value.
      
      This fix should probably be applied to all stable kernels with the
      ite-cir driver, lest we nuke more people's trackpads.
      
      Tested-by: Matthijs van Drunen
      CC: Juan Jesús García de Soria <skandalfo@gmail.com>
      CC: stable@kernel.org
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      35d136c8
  3. 21 5月, 2011 3 次提交
  4. 29 4月, 2011 1 次提交
  5. 29 3月, 2011 1 次提交
    • J
      x86: Stop including <linux/delay.h> in two asm header files · ca444564
      Jean Delvare 提交于
      Stop including <linux/delay.h> in x86 header files which don't
      need it. This will let the compiler complain when this header is
      not included by source files when it should, so that
      contributors can fix the problem before building on other
      architectures starts to fail.
      
      Credits go to Geert for the idea.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: James E.J. Bottomley <James.Bottomley@suse.de>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      LKML-Reference: <20110325152014.297890ec@endymion.delvare>
      [ this also fixes an upstream build bug in drivers/media/rc/ite-cir.c ]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      ca444564
  6. 25 3月, 2011 1 次提交
  7. 23 3月, 2011 2 次提交