diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-07-29 20:07:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-29 11:41:27 -0700 |
commit | f6ba63fce2ccf3f48d0d643bd93d32509c90cade (patch) | |
tree | b069b56e0a6f2f44414eb86e08931c36c916e29a | |
parent | 272705e937aa2b64d068bccb75b88d3f202037e9 (diff) | |
download | blackbird-op-linux-f6ba63fce2ccf3f48d0d643bd93d32509c90cade.tar.gz blackbird-op-linux-f6ba63fce2ccf3f48d0d643bd93d32509c90cade.zip |
staging: octeon-usb: use correct board type for EdgeRouter Lite
Use CVMX_BOARD_TYPE_UBNT_E100 for EdgeRouter Lite.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/octeon-usb/cvmx-usb.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb.c index bf366495fdd1..6c7bcf33ee34 100644 --- a/drivers/staging/octeon-usb/cvmx-usb.c +++ b/drivers/staging/octeon-usb/cvmx-usb.c @@ -280,14 +280,9 @@ static int octeon_usb_get_clock_type(void) case CVMX_BOARD_TYPE_LANAI2_A: case CVMX_BOARD_TYPE_LANAI2_U: case CVMX_BOARD_TYPE_LANAI2_G: + case CVMX_BOARD_TYPE_UBNT_E100: return USB_CLOCK_TYPE_CRYSTAL_12; } - - /* FIXME: This should use CVMX_BOARD_TYPE_UBNT_E100 */ - if (OCTEON_IS_MODEL(OCTEON_CN50XX) && - cvmx_sysinfo_get()->board_type == 20002) - return USB_CLOCK_TYPE_CRYSTAL_12; - return USB_CLOCK_TYPE_REF_48; } |