All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Cc: dvhart@infradead.org, platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Andrei Borzenkov <arvidjaar@gmail.com>
Subject: Re: [PATCH] dell-rbtn: Ignore ACPI notifications if device is suspended
Date: Mon, 23 Nov 2015 15:48:58 +0100	[thread overview]
Message-ID: <20151123144858.GE24147@pali> (raw)
In-Reply-To: <1448115375-7315-1-git-send-email-gabriele.mzt@gmail.com>

On Saturday 21 November 2015 15:16:15 Gabriele Mazzotta wrote:
> Some BIOSes unconditionally send an ACPI notification to RBTN when the
> system is resuming from suspend. This makes dell-rbtn send an input
> event to userspace as if a function key was pressed. Prevent this by
> ignoring all the notifications received while the device is suspended.
> 
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=106031
> Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>

Andrei Borzenkov (CCed) tested this patch and patch does not fix bug.
Probably there is race condition and ACPI event is sent *after* function
rbtn_resume is called.

-- 
Pali Rohár
pali.rohar@gmail.com

  parent reply	other threads:[~2015-11-23 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-21 14:16 [PATCH] dell-rbtn: Ignore ACPI notifications if device is suspended Gabriele Mazzotta
2015-11-21 19:18 ` Pali Rohár
2015-11-23 14:48 ` Pali Rohár [this message]
2015-11-23 19:24   ` Darren Hart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151123144858.GE24147@pali \
    --to=pali.rohar@gmail.com \
    --cc=arvidjaar@gmail.com \
    --cc=dvhart@infradead.org \
    --cc=gabriele.mzt@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.