1. 03 11月, 2017 1 次提交
  2. 27 1月, 2017 1 次提交
    • S
      [media] media: Drop FSF's postal address from the source code files · bcb63314
      Sakari Ailus 提交于
      Drop the FSF's postal address from the source code files that typically
      contain mostly the license text. Of the 628 removed instances, 578 are
      outdated.
      
      The patch has been created with the following command without manual edits:
      
      git grep -l "675 Mass Ave\|59 Temple Place\|51 Franklin St" -- \
      	drivers/media/ include/media|while read i; do i=$i perl -e '
      open(F,"< $ENV{i}");
      $a=join("", <F>);
      $a =~ s/[ \t]*\*\n.*You should.*\n.*along with.*\n.*(\n.*USA.*$)?\n//m
      	&& $a =~ s/(^.*)Or, (point your browser to) /$1To obtain the license, $2\n$1/m;
      close(F);
      open(F, "> $ENV{i}");
      print F $a;
      close(F);'; done
      Signed-off-by: NSakari Ailus <sakari.ailus@linux.intel.com>
      bcb63314
  3. 21 10月, 2016 1 次提交
    • M
      [media] pvrusb2: don't break long lines · 96292c89
      Mauro Carvalho Chehab 提交于
      Due to the 80-cols restrictions, and latter due to checkpatch
      warnings, several strings were broken into multiple lines. This
      is not considered a good practice anymore, as it makes harder
      to grep for strings at the source code.
      
      As we're right now fixing other drivers due to KERN_CONT, we need
      to be able to identify what printk strings don't end with a "\n".
      It is a way easier to detect those if we don't break long lines.
      
      So, join those continuation lines.
      
      The patch was generated via the script below, and manually
      adjusted if needed.
      
      </script>
      use Text::Tabs;
      while (<>) {
      	if ($next ne "") {
      		$c=$_;
      		if ($c =~ /^\s+\"(.*)/) {
      			$c2=$1;
      			$next =~ s/\"\n$//;
      			$n = expand($next);
      			$funpos = index($n, '(');
      			$pos = index($c2, '",');
      			if ($funpos && $pos > 0) {
      				$s1 = substr $c2, 0, $pos + 2;
      				$s2 = ' ' x ($funpos + 1) . substr $c2, $pos + 2;
      				$s2 =~ s/^\s+//;
      
      				$s2 = ' ' x ($funpos + 1) . $s2 if ($s2 ne "");
      
      				print unexpand("$next$s1\n");
      				print unexpand("$s2\n") if ($s2 ne "");
      			} else {
      				print "$next$c2\n";
      			}
      			$next="";
      			next;
      		} else {
      			print $next;
      		}
      		$next="";
      	} else {
      		if (m/\"$/) {
      			if (!m/\\n\"$/) {
      				$next=$_;
      				next;
      			}
      		}
      	}
      	print $_;
      }
      </script>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      96292c89
  4. 24 8月, 2016 1 次提交
    • B
      [media] pvrusb2: Remove deprecated create_singlethread_workqueue · 29a3006e
      Bhaktipriya Shridhar 提交于
      The workqueue "workqueue" is involved in polling the pvrusb2 hardware
      (pvr2_hdw).
      
      It has a single work item(&hdw->workpoll) and hence doesn't require
      ordering. Also, it is not being used on a memory reclaim path.
      Hence, the singlethreaded workqueue has been replaced with the use of
      system_wq.
      
      System workqueues have been able to handle high level of concurrency
      for a long time now and hence it's not required to have a singlethreaded
      workqueue just to gain concurrency. Unlike a dedicated per-cpu workqueue
      created with create_singlethread_workqueue(), system_wq allows multiple
      work items to overlap executions even on the same CPU; however, a
      per-cpu workqueue doesn't have any CPU locality or global ordering
      guarantee unless the target CPU is explicitly specified and thus the
      increase of local concurrency shouldn't make any difference.
      
      Work item has been flushed in pvr2_hdw_destroy to ensure that there are no
      pending tasks while disconnecting the driver.
      Signed-off-by: NBhaktipriya Shridhar <bhaktipriya96@gmail.com>
      Acked-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      29a3006e
  5. 12 7月, 2016 1 次提交
  6. 21 4月, 2016 1 次提交
  7. 23 2月, 2016 1 次提交
  8. 01 5月, 2015 2 次提交
    • H
      [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers · ebf984bb
      Hans Verkuil 提交于
      Replace all calls to s_mbus_fmt in bridge drivers by calls to the
      set_fmt pad op.
      
      Remove the old try/s_mbus_fmt video ops since they are now no longer used.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
      Acked-by: NPrabhakar Lad <prabhakar.csengg@gmail.com>
      Acked-by: NScott Jiang <scott.jiang.linux@gmail.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      ebf984bb
    • M
      [media] pvrusb2: fix inconsistent indenting · f419edd4
      Mauro Carvalho Chehab 提交于
      smatch complains about multiple issues here:
      	drivers/media/usb/pvrusb2/pvrusb2-context.c:402 pvr2_channel_claim_stream() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-ioread.c:240 pvr2_ioread_setup() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-ioread.c:255 pvr2_ioread_set_enabled() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-ioread.c:485 pvr2_ioread_read() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-io.c:522 pvr2_stream_set_callback() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-io.c:561 pvr2_stream_set_buffer_count() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-io.c:640 pvr2_buffer_queue() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-io.c:667 pvr2_buffer_set_buffer() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-io.c:668 pvr2_buffer_set_buffer() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2614 pvr2_hdw_create() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2740 pvr2_hdw_destroy() warn: inconsistent indenting
      	drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3353 pvr2_hdw_trigger_module_log() warn: inconsistent indenting
      
      Let's get rid of those, in order to cleanup as much as possible the smatch error log.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      f419edd4
  9. 02 2月, 2015 1 次提交
  10. 27 1月, 2015 2 次提交
  11. 15 11月, 2014 1 次提交
  12. 25 5月, 2014 1 次提交
  13. 15 10月, 2013 1 次提交
  14. 21 6月, 2013 1 次提交
  15. 17 6月, 2013 1 次提交
  16. 27 5月, 2013 1 次提交
  17. 24 3月, 2013 1 次提交
  18. 22 11月, 2012 1 次提交
  19. 16 8月, 2012 1 次提交
  20. 08 5月, 2012 4 次提交
  21. 13 12月, 2011 1 次提交
  22. 01 11月, 2011 1 次提交
  23. 08 10月, 2011 1 次提交
  24. 08 7月, 2011 1 次提交
  25. 22 3月, 2011 6 次提交
  26. 22 11月, 2010 1 次提交
  27. 23 10月, 2010 1 次提交
  28. 01 6月, 2010 3 次提交