1. 11 Dec, 2013 9 commits
  2. 10 Dec, 2013 29 commits
  3. 09 Dec, 2013 2 commits
    • Mauro Carvalho Chehab's avatar
      [media] radio-bcm2048: fix signal of value · 356ba021
      Mauro Carvalho Chehab authored
      As value can be initialized with a value lower than zero, change it
      to int, to avoid those warnings:
      
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_rds_pi_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2070:1: note: in expansion of macro 'property_read'
       property_read(rds_pi, unsigned int, "%x")
       ^
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_fm_rds_flags_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2074:1: note: in expansion of macro 'property_read'
       property_read(fm_rds_flags, unsigned int, "%u")
       ^
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_region_bottom_frequency_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2077:1: note: in expansion of macro 'property_read'
       property_read(region_bottom_frequency, unsigned int, "%u")
       ^
      drivers/staging/media/bcm2048/radio-bcm2048.c: In function 'bcm2048_region_top_frequency_read':
      drivers/staging/media/bcm2048/radio-bcm2048.c:1989:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
        struct bcm2048_device *bdev = dev_get_drvdata(dev);  \
               ^
      drivers/staging/media/bcm2048/radio-bcm2048.c:2078:1: note: in expansion of macro 'property_read'
       property_read(region_top_frequency, unsigned int, "%u")
      
      Cc: Hans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      356ba021
    • Ricardo Ribalda's avatar
      [media] videobuf2-dma-sg: Support io userptr operations on io memory · 50ac952d
      Ricardo Ribalda authored
      Memory exported via remap_pfn_range cannot be remapped via
      get_user_pages.
      Other videobuf2 methods (like the dma-contig) supports io memory.
      This patch adds support for this kind of memory.
      v2: Comments by Marek Szyprowski
      -Use vb2_get_vma and vb2_put_vma
      Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
      Acked-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
      50ac952d