[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    MIPS: RB532: Fix set_latch_u5()
From:       linux-mips () linux-mips ! org
Date:       2009-01-29 17:49:16
Message-ID: S21365757AbZA2RtT/20090129174919Z+14760 () ftp ! linux-mips ! org
[Download RAW message or body]

Author: Phil Sutter <n0-1@freewrt.org> Mon Jan 19 23:42:51 2009 +0100
Comitter: Ralf Baechle <ralf@linux-mips.org> Thu Jan 29 17:41:51 2009 +0000
Commit: ed610a09c717690ce21716eade127701b57b8b08
Gitweb: http://www.linux-mips.org/g/linux/ed610a09
Branch: linux-2.6.28-stable

The data to be written is just a byte, so use writeb instead of writel.
Also, dev3.base contains the address, not the data so referencing here
is wrong.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit cfdc5fbbeb4f7fd7188f616d3917a4fcd78ec55f)

---

 arch/mips/rb532/gpio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic