Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299531

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

From Jiri Kosina <jikos@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset
Date 2015-12-31 00:00 +0100
Message-ID <qLxSO-4fy-5@gated-at.bofh.it> (permalink)
References <qI8Hg-71s-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 21 Dec 2015, Mika Westerberg wrote:

> When an i2c-hid device is resumed from system sleep the driver resets
> the device to be sure it is in known state. The device is expected to
> issue an interrupt when reset is complete.
[ ... snip ... ]
> Prevent sending of feature/output reports while the device is being
> reset by adding a mutex which is held during that time.

Thanks Mika. Applied to for-4.4/upstream-fixes.

-- 
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-12-21 14:30 +0100
  Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with  device reset Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2015-12-21 15:20 +0100
  Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with  device reset Linus Torvalds <torvalds@linux-foundation.org> - 2015-12-28 03:50 +0100
  Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with  device reset Jiri Kosina <jikos@kernel.org> - 2015-12-31 00:00 +0100
  Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with  device reset Nish Aravamudan <nish.aravamudan@gmail.com> - 2016-01-04 17:00 +0100

csiph-web