1. 01 2月, 2016 1 次提交
  2. 24 6月, 2015 1 次提交
    • M
      [media] saa7134: fix page size on some archs · 816de50d
      Mauro Carvalho Chehab 提交于
      On some archs, like tile, the PAGE_SIZE is not 4K. In the case
      of tile arch, it can be either 16KB or 64KB.
      
      Due to that, a warning is produced:
      	drivers/media/pci/saa7134/saa7134.h:678:43: warning: large integer implicitly truncated to unsigned type [-Woverflow]
      
      This is actually an error, as it will write trach to the DMA size
      registers. The logic at saa7134-ts already does the right thing:
      
      	saa_writeb(SAA7134_TS_DMA0, ((dev->ts.nr_packets-1)&0xff));
      	saa_writeb(SAA7134_TS_DMA1, (((dev->ts.nr_packets-1)>>8)&0xff));
      	/* TSNOPIT=0, TSCOLAP=0 */
      	saa_writeb(SAA7134_TS_DMA2,
      		((((dev->ts.nr_packets-1)>>16)&0x3f) | 0x00));
      
      So, fix the driver to take larger page sizes into account.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      816de50d
  3. 13 5月, 2015 1 次提交
  4. 24 9月, 2014 3 次提交
    • M
      [media] saa7134: Remove unused status var · 8eb988f1
      Mauro Carvalho Chehab 提交于
      drivers/media/pci/saa7134/saa7134-go7007.c: In function ‘saa7134_go7007_interface_reset’:
      drivers/media/pci/saa7134/saa7134-go7007.c:147:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      8eb988f1
    • M
      [media] saa7134: Remove some casting warnings · 23ea6ec0
      Mauro Carvalho Chehab 提交于
      drivers/media/pci/saa7134/saa7134-go7007.c:247:17: warning: incorrect type in argument 1 (different base types)
      drivers/media/pci/saa7134/saa7134-go7007.c:247:17:    expected unsigned int [unsigned] val
      drivers/media/pci/saa7134/saa7134-go7007.c:247:17:    got restricted __le32 [usertype] <noident>
      drivers/media/pci/saa7134/saa7134-go7007.c:252:17: warning: incorrect type in argument 1 (different base types)
      drivers/media/pci/saa7134/saa7134-go7007.c:252:17:    expected unsigned int [unsigned] val
      drivers/media/pci/saa7134/saa7134-go7007.c:252:17:    got restricted __le32 [usertype] <noident>
      drivers/media/pci/saa7134/saa7134-go7007.c:299:9: warning: incorrect type in argument 1 (different base types)
      drivers/media/pci/saa7134/saa7134-go7007.c:299:9:    expected unsigned int [unsigned] val
      drivers/media/pci/saa7134/saa7134-go7007.c:299:9:    got restricted __le32 [usertype] <noident>
      drivers/media/pci/saa7134/saa7134-go7007.c:300:9: warning: incorrect type in argument 1 (different base types)
      drivers/media/pci/saa7134/saa7134-go7007.c:300:9:    expected unsigned int [unsigned] val
      drivers/media/pci/saa7134/saa7134-go7007.c:300:9:    got restricted __le32 [usertype] <noident>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      23ea6ec0
    • H
      [media] saa7134: add saa7134-go7007 · 452015de
      Hans Verkuil 提交于
      This patch adds support to saa7134 for 'WIS Voyager or compatible' PCI boards
      such as the Sensoray model 614 with which this patch was tested. It is a
      saa7134-based PCI board with a go7007 MPEG encoder. This was a patch when the
      go7007 was still in staging and was not applied when go7007 was moved to
      drivers/media since it needed more work.
      
      That work is now done and this last piece of go7007 support can now go in.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Tested-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      452015de