lineage_android_kernel_sams.../include
Liron Kuch c2392df88a tspp: improve tspp_open_stream/tspp_close_stream behavior
The TSPP driver's kernel API supports opening and closing a TSPP stream
using the tspp_open_stream/tspp_close_stream API functions. This commit
fixes a few minor issues with the behavior and usage of this API.

tspp_open_stream and tspp_close_stream were fixed to connect/disconnect
the appropriate TSIF source based on the TSIF reference count.

The call to tspp_close_stream from within tspp_close_channel was removed,
since a kernel driver that uses the TSPP driver API is expected to call
tspp_close_stream explicitly, and not rely on the TSPP driver to close
the stream implicitly when the channel is closed.

An ioctl was added to allow user-space application to close the stream.

Change-Id: If49b440d9d83c8bba54aeabc18e8f06b3cc11b3e
Signed-off-by: Liron Kuch <lkuch@codeaurora.org>
2013-02-25 16:28:42 +02:00
..
acpi
asm-generic common: add dma_mmap_from_coherent() function 2012-08-15 13:06:05 -07:00
crypto
drm Update copyright to The Linux Foundation 2013-02-12 13:35:08 -08:00
keys
linux tspp: improve tspp_open_stream/tspp_close_stream behavior 2013-02-25 16:28:42 +02:00
math-emu
media msm: vidc: Add support for NV21 color format encoding 2013-02-14 17:18:06 +05:30
misc
mtd
net Bluetooth: Introduce new security level 2013-02-15 14:05:07 +05:30
pcmcia
rdma
rxrpc
scsi
sound ASoC: msm: avoid negative time stamp check 2013-02-19 08:20:30 -08:00
target
trace tracing: ftrace events for user faults and undefined instructions 2013-01-30 16:09:26 -08:00
video
xen
Kbuild