summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/audio/as3514.c2
-rw-r--r--firmware/export/as3514.h4
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index 4bd32ce..ac3350e 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -34,7 +34,7 @@
/*
* This drivers supports:
* as3514 , as used in the PP targets
- * as3517 , as used in the as3525 targets
+ * as3515 , as used in the as3525 targets
* as3543 , as used in the as3525v2 targets
*/
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index 60f0e4c..df149c2 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -58,7 +58,7 @@ extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
#define AS3514_AUDIOSET1 0x14
#define AS3514_AUDIOSET2 0x15
#define AS3514_AUDIOSET3 0x16
-#define AS3517_USB_UTIL 0x17 /* only in as3517+ */
+#define AS3515_USB_UTIL 0x17 /* only in as3515 */
#ifdef HAVE_AS3543
#define AS3543_BACKLIGHT 0x1b
@@ -112,7 +112,7 @@ extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
/* HPH_OUT_R (0x02) */
#define HPH_OUT_R_HP_OVC_TO (0x3 << 6)
- /* AS3514/AS3517 */
+ /* AS3514/AS3515 */
#define HPH_OUT_R_HP_OVC_TO_0MS (0x3 << 6)
#define HPH_OUT_R_HP_OVC_TO_128MS (0x1 << 6)
#define HPH_OUT_R_HP_OVC_TO_256MS (0x0 << 6)
diff --git a/firmware/target/arm/as3525/usb-drv-as3525.c b/firmware/target/arm/as3525/usb-drv-as3525.c
index 7eb84cd..488fbff 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525.c
@@ -122,7 +122,7 @@ void usb_drv_init(void)
endpoints[i].busy = false;
ascodec_write(AS3514_CVDD_DCDC3, ascodec_read(AS3514_CVDD_DCDC3) | 1<<2);
- ascodec_write(AS3517_USB_UTIL, ascodec_read(AS3517_USB_UTIL) & ~(1<<4));
+ ascodec_write(AS3515_USB_UTIL, ascodec_read(AS3515_USB_UTIL) & ~(1<<4));
/* PHY part */
CGU_USB = 1<<5 /* enable */
@@ -137,7 +137,7 @@ void usb_drv_init(void)
USB_DEV_CTRL |= 0x400; /* soft disconnect */
/* UVDD */
- ascodec_write(AS3517_USB_UTIL, ascodec_read(AS3517_USB_UTIL) | (1<<4));
+ ascodec_write(AS3515_USB_UTIL, ascodec_read(AS3515_USB_UTIL) | (1<<4));
sleep(10); //msleep(100)
USB_GPIO_CSR = 0x6180000;
@@ -199,7 +199,7 @@ void usb_drv_exit(void)
VIC_INT_EN_CLEAR = INTERRUPT_USB;
CGU_USB &= ~(1<<5);
CGU_PERI &= ~CGU_USB_CLOCK_ENABLE;
- ascodec_write(AS3517_USB_UTIL, ascodec_read(AS3517_USB_UTIL) & ~(1<<4));
+ ascodec_write(AS3515_USB_UTIL, ascodec_read(AS3515_USB_UTIL) & ~(1<<4));
}
int usb_drv_port_speed(void)