25 Jan, 2016
1 commit
-
Use list_for_each_entry*() instead of list_for_each*() to simplify
the code.Signed-off-by: Geliang Tang
Signed-off-by: Greg Kroah-Hartman
28 Oct, 2015
1 commit
-
An spi_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Andrew F. Davis
Acked-by: Jonathan Cameron
Signed-off-by: Mark Brown
04 Apr, 2015
1 commit
-
Fix using the bare number to set the 'bDescriptorType' field of the Hub
Descriptor while the value is #define'd in .Signed-off-by: Sergei Shtylyov
Signed-off-by: Greg Kroah-Hartman
25 Jan, 2015
1 commit
-
Fix using the bare number to set the 'wHubCharacteristics' field of the Hub
Descriptor while the values are #define'd in .Signed-off-by: Sergei Shtylyov
Signed-off-by: Greg Kroah-Hartman
10 Jan, 2015
1 commit
-
To be future-proof and for better readability the time comparisons are
modified to use time_after() instead of plain, error-prone math.Signed-off-by: Asaf Vertz
Acked-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman
10 Jul, 2014
3 commits
-
As far as kzalloc() is called with spinlock held,
we have to pass GFP_ATOMIC regardless of mem_flags argument.Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
Acked-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman -
Bit fields are not MP-safe.
Signed-off-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman
30 May, 2014
3 commits
-
module_spi_driver simplifies the code by eliminating
boilerplate code.Signed-off-by: Sachin Kamat
Acked-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Davidm Mosberger
Signed-off-by: Greg Kroah-Hartman -
kmalloc the SPI rx and tx data buffers. This appears to be the only
portable way to guarantee that the buffers are DMA-safe (e.g., in
separate DMA cache-lines). This patch makes the spi_rdX()/spi_wrX()
non-reentrant, but that's OK because calls to them are guaranteed to
be serialized by the per-HCD SPI-thread.Reported-by: kbuild test robot
Signed-off-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman
29 May, 2014
2 commits
-
Reported-by: Dan Carpenter
Signed-off-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman -
Reported-by: Dan Carpenter
Signed-off-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman
28 May, 2014
1 commit
-
Signed-off-by: David Mosberger
Signed-off-by: Greg Kroah-Hartman