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)
commit3439d65062a4af6af0433c8816fd54697d782ff4
tree62553af91c19729acfd1d86e1137ad565a2b56e8
parent509426bd46ad0903dca409803e0ee3d30f99f1e8
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