linux/drivers/w1/masters
Maciej S. Szmigiero 61cd1b4cd1 w1: ds2490: USB transfer buffers need to be DMAable
ds2490 driver was doing USB transfers from / to buffers on a stack.
This is not permitted and made the driver non-working with vmapped stacks.

Since all these transfers are done under the same bus_mutex lock we can
simply use shared buffers in a device private structure for two most common
of them.

While we are at it, let's also fix a comparison between int and size_t in
ds9490r_search() which made the driver spin in this function if state
register get requests were failing.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Cc: stable <stable@vger.kernel.org>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-25 11:46:42 +01:00
..
ds1wm.c
ds2482.c
ds2490.c w1: ds2490: USB transfer buffers need to be DMAable 2017-01-25 11:46:42 +01:00
Kconfig
Makefile
matrox_w1.c
mxc_w1.c
omap_hdq.c w1: omap_hdq: Free resources on error path 2017-01-25 11:46:42 +01:00
w1-gpio.c