Re: [PATCH 1/2] staging: olpc_dcon: check for CONFIG_OLPC before calling olpc_board_at_least()

2015-01-16 Thread Dan Carpenter
On Thu, Jan 15, 2015 at 11:54:59PM -0200, Murilo Opsfelder Araujo wrote: The following error messages are thrown by sparse when CONFIG_OLPC is not defined: drivers/staging/olpc_dcon/olpc_dcon.c:147:17: error: undefined identifier 'olpc_board_at_least'

[PATCH] Drivers: hv: vmbus: serialize Offer and Rescind offer processing

2015-01-16 Thread Vitaly Kuznetsov
Commit 4b2f9abea52a (staging: hv: convert channel_mgmt.c to not call osd_schedule_callback)' was written under an assumption that we never receive Rescind offer while we're still processing the initial Offer request. However, the issue we fixed in 04a258c162a8 could be caused by this assumption

[GIT PULL] Staging driver fixes for 3.19-rc5

2015-01-16 Thread Greg KH
The following changes since commit b7392d2247cfe6771f95d256374f1a8e6a6f48d6: Linux 3.19-rc2 (2014-12-28 16:49:37 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-3.19-rc5 for you to fetch changes up to

[PATCH 0/4] iio: mxs-lradc: fix interactions between the touchscreen and the ADC

2015-01-16 Thread Kristina Martšenko
Hi, These patches fix some issues with using the touchscreen and reading other ADC channels at the same time. The main issue is that the virtual channels the touchscreen uses can overlap with the channels that the iio buffer is configured to read, causing the touchscreen to read those channels

[PATCH 3/4] iio: mxs-lradc: make ADC reads not unschedule touchscreen conversions

2015-01-16 Thread Kristina Martšenko
Reading a channel through sysfs, or starting a buffered capture, can occasionally turn off the touchscreen. This is because the read_raw() and buffer preenable()/postdisable() callbacks unschedule current conversions on all channels. If a delay channel happens to schedule a touchscreen conversion

[PATCH 2/4] iio: mxs-lradc: make ADC reads not disable touchscreen interrupts

2015-01-16 Thread Kristina Martšenko
Reading a channel through sysfs, or starting a buffered capture, will currently turn off the touchscreen. This is because the read_raw() and buffer preenable()/postdisable() callbacks disable interrupts for all LRADC channels, including those the touchscreen uses. So make the callbacks only

[PATCH 4/4] iio: mxs-lradc: only update the buffer when its conversions have finished

2015-01-16 Thread Kristina Martšenko
Using the touchscreen while running buffered capture results in the buffer reporting lots of wrong values, often just zeros. This is because we push readings to the buffer every time a touchscreen interrupt arrives, including when the buffer's own conversions have not yet finished. So let's only

[PATCH 1/4] iio: mxs-lradc: separate touchscreen and buffer virtual channels

2015-01-16 Thread Kristina Martšenko
The touchscreen was initially designed [1] to map all of its physical channels to one virtual channel, leaving buffered capture to use the remaining 7 virtual channels. When the touchscreen was reimplemented [2], it was made to use four virtual channels, which overlap and conflict with the

RE: [PATCH] Drivers: hv: vmbus: serialize Offer and Rescind offer processing

2015-01-16 Thread KY Srinivasan
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Friday, January 16, 2015 5:46 AM To: KY Srinivasan; de...@linuxdriverproject.org Cc: Haiyang Zhang; linux-ker...@vger.kernel.org; Dexuan Cui; Jason Wang; Radim Krčmář Subject: [PATCH] Drivers: hv: vmbus:

[PATCH] Staging: NetLogic: Coding style correction

2015-01-16 Thread tolga ceylan
Misspelled comment corrected Signed-off-by: tolga ceylan tolga.cey...@gmail.com --- drivers/staging/netlogic/xlr_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/netlogic/xlr_net.c b/drivers/staging/netlogic/xlr_net.c index 5ecb3e6..e8aae09 100644 ---