1. 06 6月, 2017 6 次提交
  2. 19 5月, 2017 2 次提交
  3. 09 5月, 2017 1 次提交
  4. 18 4月, 2017 2 次提交
  5. 10 4月, 2017 3 次提交
  6. 24 3月, 2017 1 次提交
  7. 16 3月, 2017 1 次提交
  8. 10 3月, 2017 1 次提交
  9. 03 3月, 2017 1 次提交
  10. 28 2月, 2017 2 次提交
  11. 08 2月, 2017 1 次提交
    • A
      [media] zd1301: fix building interface driver without demodulator · 0d1270df
      Arnd Bergmann 提交于
      If the USB driver is enabled but the demodulator is not, we get a link error:
      
      ERROR: "zd1301_demod_get_dvb_frontend" [drivers/media/usb/dvb-usb-v2/zd1301.ko] undefined!
      ERROR: "zd1301_demod_get_i2c_adapter" [drivers/media/usb/dvb-usb-v2/zd1301.ko] undefined!
      
      Such a configuration obviously makes no sense, but we should not fail
      the build.  This tries to mimic what we have for other drivers by turning
      the build failure into a runtime failure.
      
      Alternatively we could use an unconditional 'select' or 'depends on' to enforce
      a sane configuration.
      
      Fixes: 47d65372 ("[media] zd1301_demod: ZyDAS ZD1301 DVB-T demodulator driver")
      Fixes: 992b3987 ("[media] zd1301: ZyDAS ZD1301 DVB USB interface driver")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      0d1270df
  12. 04 2月, 2017 1 次提交
    • B
      [media] media: dvb-frontends: constify vb2_ops structure · dd93e79c
      Bhumika Goyal 提交于
      Declare vb2_ops structure as const as it is only stored in
      the ops field of a vb2_queue structure. This field is of type
      const, so vb2_ops structures having same properties can be made
      const too.
      Done using Coccinelle:
      
      @r1 disable optional_qualifier@
      identifier i;
      position p;
      @@
      static struct vb2_ops i@p={...};
      
      @ok1@
      identifier r1.i;
      position p;
      struct sta2x11_vip vip;
      struct vb2_queue q;
      @@
      (
      vip.vb_vidq.ops=&i@p
      |
      q.ops=&i@p
      )
      
      @bad@
      position p!={r1.p,ok1.p};
      identifier r1.i;
      @@
      i@p
      
      @depends on !bad disable optional_qualifier@
      identifier r1.i;
      @@
      +const
      struct vb2_ops i;
      
      File size details of media/dvb-frontends/rtl2832_sdr.o file remains the
      same before and after applying the patch.
      Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      dd93e79c
  13. 03 2月, 2017 4 次提交
  14. 31 1月, 2017 9 次提交
  15. 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
  16. 28 12月, 2016 1 次提交
  17. 01 12月, 2016 2 次提交
  18. 23 11月, 2016 1 次提交