1. 25 6月, 2012 1 次提交
  2. 20 5月, 2012 4 次提交
  3. 11 4月, 2012 1 次提交
    • S
      [media] s5p-fimc: Handle sub-device interdependencies using deferred probing · ecd9acbf
      Sylwester Nawrocki 提交于
      In this driver there are several entities associated with separate
      platform or I2C client devices, which may get probed in random order.
      
      When the platform device bound to the media device driver is probed
      all other entity drivers need to be already in place and initialized.
      If any of them is not, fail the media device probe and return an error
      indicating we need to be retried once any new driver gets registered.
      The media device driver probe will not succeed until there are available
      all needed sub-drivers, as specified in the platform data.
      
      While at it, make sure the s5p-csis module (MIPI-CSI receiver driver)
      does not get unloaded when in use, by guarding its usage with
      try_module_get/module_put.
      
      This patch is a prerequisite for adding the device tree support.
      It now also allows again to unbind/bind the driver at runtime from
      user space via sysfs.
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ecd9acbf
  4. 08 3月, 2012 1 次提交
  5. 25 1月, 2012 1 次提交
    • A
      Driver core: driver_find() drops reference before returning · fde25a9b
      Alan Stern 提交于
      As part of the removal of get_driver()/put_driver(), this patch
      (as1510) changes driver_find(); it now drops the reference it acquires
      before returning.  The patch also adjusts all the callers of
      driver_find() to remove the now unnecessary calls to put_driver().
      
      In addition, the patch adds a warning to driver_find(): Callers must
      make sure the driver they are searching for does not get unloaded
      while they are using it.  This has always been the case; driver_find()
      has never prevented a driver from being unregistered or unloaded.
      Hence the patch will not introduce any new bugs.  The existing callers
      all seem to be okay in this respect, however I don't understand the
      video drivers well enough to be certain about them.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      CC: Kyungmin Park <kyungmin.park@samsung.com>
      CC: Andy Walls <awalls@md.metrocast.net>
      CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      fde25a9b
  6. 18 1月, 2012 1 次提交
  7. 25 11月, 2011 3 次提交
  8. 07 9月, 2011 5 次提交