]> git.baikalelectronics.ru Git - kernel.git/commit
pata_bf54x: handle portmuxing of pins through GPIO PORTs
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 14 Jul 2009 17:39:47 +0000 (13:39 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 21 Dec 2009 18:55:38 +0000 (13:55 -0500)
commit7a466fe43bf3ae3d5f6c0c0ddcadeb56eeeeb7a4
tree62553af91c19729acfd1d86e1137ad565a2b56e8
parenta65fde42614d9fa1ebbc4cd0067f5e24cc5b540f
pata_bf54x: handle portmuxing of pins through GPIO PORTs

By default, the PATA pins are routed to the async address lines in which
case, no peripheral muxing needs to be done.  However, if the pins get
routed through the GPIO PORTs pins, we need to make sure to request them
so that the muxing is properly set up.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_bf54x.c