1. 30 4月, 2011 1 次提交
    • R
      misc: fix ti-st build issues · 773d6790
      Randy Dunlap 提交于
      st_drv uses skb*() interfaces, so it should depend on NET.
      It also uses GPIO interfaces, so it should depend on GPIOLIB.
      
      st_kim.c uses syss_*() calls, so it should #include
      <linux/sysfs.h>.
      
      Fixes these observed build errors:
      ERROR: "skb_queue_purge" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_pull" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_queue_tail" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "__alloc_skb" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "kfree_skb" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_dequeue" [drivers/misc/ti-st/st_drv.ko] undefined!
      ERROR: "skb_put" [drivers/misc/ti-st/st_drv.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Pavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      773d6790
  2. 23 4月, 2011 2 次提交
    • P
      drivers:misc:ti-st: remove rfkill dependency · fc271199
      Pavan Savoy 提交于
      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: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      fc271199
    • P
      drivers:misc:ti-st: handle delayed tty receive · 764b0c4b
      Pavan Savoy 提交于
      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: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      764b0c4b
  3. 31 3月, 2011 1 次提交
  4. 10 3月, 2011 1 次提交
  5. 05 2月, 2011 7 次提交
  6. 15 10月, 2010 1 次提交
  7. 06 10月, 2010 2 次提交
    • P
      misc: ti-st: Kconfig & Makefile for TI_ST · 2bb32e84
      Pavan Savoy 提交于
      Add the Kconfig and the Makefile for the TI_ST driver.
      TI_ST driver is the line discipline driver for the Texas Instrument's
      WiLink chipsets.
      Also add the ti-st folder to list of drivers under drivers/misc.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      2bb32e84
    • P
      staging: ti-st: move TI_ST from staging to misc/ · a0cc2f3b
      Pavan Savoy 提交于
      move the 3 source files st_core.c, st_kim.c and st_ll.c
      from staging to drivers/misc/.
      
      Texas Instrument's WiLink 7 chipset packs wireless technologies like
      Bluetooth, FM, GPS and WLAN into a single die.
      Among these the Bluetooth, FM Rx/Tx and GPS are interfaced to a apps processor
      over a single UART.
      
      This line discipline driver allows various protocol drivers such as Bluetooth
      BlueZ driver, FM V4L2 driver and GPS simple character device driver
      to communicate with its relevant core in the chip.
      
      Each protocol or technologies use a logical channel to communicate with chip.
      Bluetooth uses the HCI-H4 [channels 1-4], FM uses a CH-8 and
      GPS a CH-9 protocol. The driver also constitutes the TI HCI-LL Power
      Management protocol which use channels 30-33.
      Signed-off-by: NPavan Savoy <pavan_savoy@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a0cc2f3b