1. 04 11月, 2014 1 次提交
  2. 03 11月, 2014 7 次提交
  3. 01 11月, 2014 1 次提交
  4. 31 10月, 2014 14 次提交
  5. 30 10月, 2014 2 次提交
  6. 24 10月, 2014 2 次提交
  7. 21 10月, 2014 5 次提交
  8. 29 9月, 2014 1 次提交
  9. 26 9月, 2014 5 次提交
    • M
      Revert "[media] media: em28xx - remove reset_resume interface" · 214635f9
      Mauro Carvalho Chehab 提交于
      The reset_resume call is needed, otherwise it will break resume
      on some conditions, depending on the usb ehci/xhci controller.
      
      This reverts commit b89193e0.
      Reported-by: NJohannes Stezenbach <js@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      214635f9
    • M
      [media] usb drivers: use %zu instead of %zd · 7983b773
      Mauro Carvalho Chehab 提交于
      size_t is unsigned.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7983b773
    • M
      [media] em28xx: Fix identation · 0db32414
      Mauro Carvalho Chehab 提交于
      drivers/media/usb/em28xx/em28xx-audio.c:270 snd_em28xx_capture_open() warn: if statement not indented
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      0db32414
    • M
      [media] as102: fix endiannes casts · d51a12c9
      Mauro Carvalho Chehab 提交于
      Smatch complains a lot about endiannes issues on as102:
      
      drivers/media/usb/as102/as10x_cmd_stream.c:41:47: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_stream.c:41:47:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd_stream.c:41:47:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_stream.c:43:43: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_stream.c:43:43:    expected unsigned short [unsigned] [usertype] pid
      drivers/media/usb/as102/as10x_cmd_stream.c:43:43:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_stream.c:98:47: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_stream.c:98:47:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd_stream.c:98:47:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_stream.c:100:43: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_stream.c:100:43:    expected unsigned short [unsigned] [usertype] pid
      drivers/media/usb/as102/as10x_cmd_stream.c:100:43:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_stream.c:142:48: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_stream.c:142:48:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd_stream.c:142:48:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_stream.c:185:47: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_stream.c:185:47:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd_stream.c:185:47:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:46:40: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:46:40:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd_cfg.c:46:40:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:47:36: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:47:36:    expected unsigned short [unsigned] [usertype] tag
      drivers/media/usb/as102/as10x_cmd_cfg.c:47:36:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:48:37: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:48:37:    expected unsigned short [unsigned] [usertype] type
      drivers/media/usb/as102/as10x_cmd_cfg.c:48:37:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:72:27: warning: cast to restricted __le32
      drivers/media/usb/as102/as10x_cmd_cfg.c:102:40: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:102:40:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd_cfg.c:102:40:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:104:50: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:104:50:    expected unsigned int [unsigned] [usertype] value32
      drivers/media/usb/as102/as10x_cmd_cfg.c:104:50:    got restricted __le32 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:105:36: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:105:36:    expected unsigned short [unsigned] [usertype] tag
      drivers/media/usb/as102/as10x_cmd_cfg.c:105:36:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:106:37: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:106:37:    expected unsigned short [unsigned] [usertype] type
      drivers/media/usb/as102/as10x_cmd_cfg.c:106:37:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:156:48: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd_cfg.c:156:48:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd_cfg.c:156:48:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd_cfg.c:197:14: warning: cast to restricted __le16
      drivers/media/usb/as102/as10x_cmd.c:40:40: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:40:40:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd.c:40:40:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:81:41: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:81:41:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd.c:81:41:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:123:41: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:123:41:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd.c:123:41:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:124:43: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:124:43:    expected unsigned int [unsigned] [usertype] freq
      drivers/media/usb/as102/as10x_cmd.c:124:43:    got restricted __le32 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:178:48: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:178:48:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd.c:178:48:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:202:17: warning: cast to restricted __le16
      drivers/media/usb/as102/as10x_cmd.c:203:24: warning: cast to restricted __le16
      drivers/media/usb/as102/as10x_cmd.c:204:24: warning: cast to restricted __le16
      drivers/media/usb/as102/as10x_cmd.c:230:48: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:230:48:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd.c:230:48:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:262:25: warning: cast to restricted __le16
      drivers/media/usb/as102/as10x_cmd.c:289:48: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:289:48:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd.c:289:48:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:313:17: warning: cast to restricted __le32
      drivers/media/usb/as102/as10x_cmd.c:315:17: warning: cast to restricted __le32
      drivers/media/usb/as102/as10x_cmd.c:317:17: warning: cast to restricted __le32
      drivers/media/usb/as102/as10x_cmd.c:319:17: warning: cast to restricted __le16
      drivers/media/usb/as102/as10x_cmd.c:349:48: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:349:48:    expected unsigned short [unsigned] [usertype] proc_id
      drivers/media/usb/as102/as10x_cmd.c:349:48:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:387:29: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:387:29:    expected unsigned short [unsigned] [usertype] req_id
      drivers/media/usb/as102/as10x_cmd.c:387:29:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:388:27: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:388:27:    expected unsigned short [unsigned] [usertype] prog
      drivers/media/usb/as102/as10x_cmd.c:388:27:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:389:30: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:389:30:    expected unsigned short [unsigned] [usertype] version
      drivers/media/usb/as102/as10x_cmd.c:389:30:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:390:31: warning: incorrect type in assignment (different base types)
      drivers/media/usb/as102/as10x_cmd.c:390:31:    expected unsigned short [unsigned] [usertype] data_len
      drivers/media/usb/as102/as10x_cmd.c:390:31:    got restricted __le16 [usertype] <noident>
      drivers/media/usb/as102/as10x_cmd.c:408:14: warning: cast to restricted __le16
      
      This happens because of the command endiannes that are sent/received to
      the firmware. So, add the correct endiannes tags to the command fields.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      d51a12c9
    • M
      [media] as102_drv.h: added a missing newline · 289297b9
      Mauro Carvalho Chehab 提交于
      drivers/media/usb/as102/as102_drv.h:83:6: warning: no newline at end of file
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      289297b9
  10. 24 9月, 2014 2 次提交