OpenCloudOS-Kernel/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
..
Kconfig w1: mxc_w1: Enable driver compilation with COMPILE_TEST 2014-02-28 15:27:09 -08:00
Makefile w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
ds1wm.c w1/masters: use pr_* instead of printk 2014-06-19 17:46:51 -07:00
ds2482.c w1: enable active pullup for DS2482 by default 2016-05-01 14:04:19 -07:00
ds2490.c w1: ds2490: USB transfer buffers need to be DMAable 2017-01-25 11:46:42 +01:00
matrox_w1.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-09-01 18:46:42 -07:00
mxc_w1.c w1: constify of_device_id array 2015-03-25 12:25:29 +01:00
omap_hdq.c w1: omap_hdq: Free resources on error path 2017-01-25 11:46:42 +01:00
w1-gpio.c W1: w1-gpio - switch to using dev_pm_ops 2015-10-17 21:45:05 -07:00