1. 04 1月, 2013 1 次提交
    • G
      Drivers: media: remove __dev* attributes. · 4c62e976
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c62e976
  2. 16 8月, 2012 1 次提交
  3. 20 5月, 2012 2 次提交
  4. 11 1月, 2012 1 次提交
  5. 07 9月, 2011 1 次提交
    • M
      [media] media: vb2: change queue initialization order · bd323e28
      Marek Szyprowski 提交于
      This patch changes the order of operations during stream on call. Now the
      buffers are first queued to the driver and then the start_streaming method
      is called.
      
      This resolves the most common case when the driver needs to know buffer
      addresses to enable dma engine and start streaming. Additional parameter
      to start_streaming method have been added to simplify drivers code. The
      driver are now obliged to check if the number of queued buffers is high
      enough to enable hardware streaming. If not - it can return an error. In
      such case all the buffers that have been pre-queued are invalidated.
      
      This patch also updates all videobuf2 clients to work properly with the
      changed order of operations.
      Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      CC: Pawel Osciak <pawel@osciak.com>
      CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
      CC: Hans Verkuil <hverkuil@xs4all.nl>
      CC: Tomasz Stanislawski <t.stanislaws@samsung.com>
      CC: Sylwester Nawrocki <s.nawrocki@samsung.com>
      CC: Kamil Debski <k.debski@samsung.com>
      CC: Jonathan Corbet <corbet@lwn.net>
      CC: Josh Wu <josh.wu@atmel.com>
      CC: Hans de Goede <hdegoede@redhat.com>
      CC: Paul Mundt <lethal@linux-sh.org>
      Tested-by: NJosh Wu <josh.wu@atmel.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      bd323e28
  6. 28 7月, 2011 1 次提交