1. 23 Apr, 2011 3 commits
    • Sebastian Ott's avatar
      driver-core: fix race between device_register and driver_register · 8497d6a2
      Sebastian Ott authored
      When a device is registered to a bus it will be a) added to the list
      of devices of the bus and b) bind to a driver (if one matches). As a
      result of a driver being registered at this bus between a) and b) this
      device could already be bound to a driver. This leads to a warning
      and incorrect refcounting.
      To fix this add a check to device_attach to identify an already bound
      device.
      Signed-off-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8497d6a2
    • Pavan Savoy's avatar
      drivers:misc:ti-st: remove rfkill dependency · fc271199
      Pavan Savoy authored
      rfkill is no longer used by Texas Instruments shared transport driver to
      communicate with user-space.
      This patch removes the dependency of rfkill to be enabled to build
      shared transport driver in the Kconfig.
      Signed-off-by: default avatarPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      fc271199
    • Pavan Savoy's avatar
      drivers:misc:ti-st: handle delayed tty receive · 764b0c4b
      Pavan Savoy authored
      When certain technologies shutdown their interface without waiting for
      the acknowledgement from the chip. The receive_buf from the TTY would be
      invoked a while after the relevant technology is unregistered.
      
      This patch introduces a new flag "is_registered" which maintains the
      state of protocols BT, FM or GPS and thereby removes the need to clear
      the protocol data from ST when protocols gets unregistered.
      
      This fixes corner cases when HCI RESET is sent down from bluetooth stack
      and the receive_buf is called from tty after 250ms before which
      bluetooth would have unregistered from the system.
      OR - when FM application decides to close down the device without
      sending a power-off FM command resulting in some RDS data or interrupt
      data coming in after the driver is unregistered.
      Signed-off-by: default avatarPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      764b0c4b
  2. 20 Apr, 2011 1 commit
  3. 19 Apr, 2011 13 commits
  4. 18 Apr, 2011 23 commits