diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2009-07-15 23:22:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:29 -0400 |
commit | 9da69c604d87afea37b5411867bb76e3c624cc92 (patch) | |
tree | b22b9a8c7e471633054b3b019411c584473b07c5 /drivers/usb/host/isp1760-hcd.c | |
parent | 331ac6b288d9f3689514ced1878041fb0df7e13c (diff) |
USB: isp1760: allow platform devices to customize devflags
Platform device support was merged earlier, but support for boards to
customize the devflags aspect of the controller was not. We want this on
Blackfin systems to control the bus width, but might as well expose all of
the fields while we're at it.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1760-hcd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index 15438469f21a..9600a58299db 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c | |||
@@ -386,6 +386,10 @@ static int isp1760_hc_setup(struct usb_hcd *hcd) | |||
386 | hwmode |= HW_DACK_POL_HIGH; | 386 | hwmode |= HW_DACK_POL_HIGH; |
387 | if (priv->devflags & ISP1760_FLAG_DREQ_POL_HIGH) | 387 | if (priv->devflags & ISP1760_FLAG_DREQ_POL_HIGH) |
388 | hwmode |= HW_DREQ_POL_HIGH; | 388 | hwmode |= HW_DREQ_POL_HIGH; |
389 | if (priv->devflags & ISP1760_FLAG_INTR_POL_HIGH) | ||
390 | hwmode |= HW_INTR_HIGH_ACT; | ||
391 | if (priv->devflags & ISP1760_FLAG_INTR_EDGE_TRIG) | ||
392 | hwmode |= HW_INTR_EDGE_TRIG; | ||
389 | 393 | ||
390 | /* | 394 | /* |
391 | * We have to set this first in case we're in 16-bit mode. | 395 | * We have to set this first in case we're in 16-bit mode. |