1. 05 Feb, 2013 38 commits
  2. 01 Feb, 2013 1 commit
    • Alexandre Lissy's avatar
      [media] imon: fix Knob event interpretation issues on ARM · 24dec5da
      Alexandre Lissy authored
      Events for the iMon Knob pad where not correctly interpreted on ARM,
      resulting in buggy mouse movements (cursor going straight out of the
      screen), key pad only generating KEY_RIGHT and KEY_DOWN events.
      A reproducer is:
      int main(int argc, char ** argv)
      {
              char rel_x = 0x00; printf("rel_x:%d @%s:%d\n", rel_x, __FILE__, __LINE__);
              rel_x = 0x0f; printf("rel_x:%d @%s:%d\n", rel_x, __FILE__, __LINE__);
              rel_x |= ~0x0f; printf("rel_x:%d @%s:%d\n", rel_x, __FILE__, __LINE__);
              return 0;
      }
      (running on x86 or amd64)
      $ ./test
      rel_x:0 @test.c:6
      rel_x:15 @test.c:7
      rel_x:-1 @test.c:8
      (running on armv6)
      rel_x:0 @test.c:6
      rel_x:15 @test.c:7
      rel_x:255 @test.c:8
      Forcing the rel_x and rel_y variables as signed char fixes the issue.
      
      Reference: http://www.arm.linux.org.uk/docs/faqs/signedchar.phpSigned-off-by: default avatarAlexandre Lissy <alexandrelissy@free.fr>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      24dec5da
  3. 24 Jan, 2013 1 commit
    • Mauro Carvalho Chehab's avatar
      Merge branch 'v4l_for_linus' into staging/for_v3.9 · a32f7d1a
      Mauro Carvalho Chehab authored
      * v4l_for_linus: (464 commits)
        [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures
        [media] uvcvideo: Cleanup leftovers of partial revert
        [media] uvcvideo: Return -EACCES when trying to set a read-only control
        Linux 3.8-rc3
        mm: reinstante dropped pmd_trans_splitting() check
        cred: Remove tgcred pointer from struct cred
        drm/ttm: fix fence locking in ttm_buffer_object_transfer
        ARM: clps711x: Fix bad merge of clockevents setup
        ARM: highbank: save and restore L2 cache and GIC on suspend
        ARM: highbank: add a power request clear
        ARM: highbank: fix secondary boot and hotplug
        ARM: highbank: fix typos with hignbank in power request functions
        ARM: dts: fix highbank cpu mpidr values
        ARM: dts: add device_type prop to cpu nodes on Calxeda platforms
        drm/prime: drop reference on imported dma-buf come from gem
        xen/netfront: improve truesize tracking
        ARM: mx5: Fix MX53 flexcan2 clock
        ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array
        sctp: fix Kconfig bug in default cookie hmac selection
        EDAC: Cleanup device deregistering path
        ...
      
      Conflicts:
      	drivers/media/pci/dm1105/dm1105.c
      	drivers/media/platform/soc_camera/mx2_camera.c
      a32f7d1a