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


Groups > linux.kernel > #1685633 > unrolled thread

[PATCH 0/2] gpio-mxc: Fix issue with gpios used as wake source on iMX27

Started byPhilipp Rosenberger <p.rosenberger@linutronix.de>
First post2017-07-12 10:40 +0200
Last post2017-07-12 10:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] gpio-mxc: Fix issue with gpios used as wake source on iMX27 Philipp Rosenberger <p.rosenberger@linutronix.de> - 2017-07-12 10:40 +0200

#1685633 — [PATCH 0/2] gpio-mxc: Fix issue with gpios used as wake source on iMX27

FromPhilipp Rosenberger <p.rosenberger@linutronix.de>
Date2017-07-12 10:40 +0200
Subject[PATCH 0/2] gpio-mxc: Fix issue with gpios used as wake source on iMX27
Message-ID<u2llE-5Pi-3@gated-at.bofh.it>
The gpio-mxc driver is able to use two interrupts per gpio bank. One for
the lower 16 and the other for the higher 16 gpios. The iMX27 has only one
interrupt per bank. An error in the driver leads to the problem that the
driver uses an invalid interrupt for the higher 16 gpios. Which in turn
prevents the upper 16 gpios per bank to be used as wake source.

The first patch fixes the assignment for the irq_high. The second patch
adds proper return values. Which should make finding any problems in the
future much easier.

Philipp Rosenberger (2):
  gpio: gpio-mxc: Fix: higher 16 GPIOs usable as wake source
  gpio: gpio-mxc: gpio_set_wake_irq() use proper return values

 drivers/gpio/gpio-mxc.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

-- 
2.1.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web