diff options
Diffstat (limited to 'firmware/drivers/audio/as3514.c')
-rw-r--r-- | firmware/drivers/audio/as3514.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c index a0a84e51c9..4e69462508 100644 --- a/firmware/drivers/audio/as3514.c +++ b/firmware/drivers/audio/as3514.c | |||
@@ -130,7 +130,7 @@ void audiohw_reset(void); | |||
130 | /* | 130 | /* |
131 | * Initialise the PP I2C and I2S. | 131 | * Initialise the PP I2C and I2S. |
132 | */ | 132 | */ |
133 | int audiohw_init(void) | 133 | void audiohw_init(void) |
134 | { | 134 | { |
135 | unsigned int i; | 135 | unsigned int i; |
136 | 136 | ||
@@ -188,8 +188,6 @@ int audiohw_init(void) | |||
188 | { | 188 | { |
189 | as3514.regs[i] = i2c_readbyte(AS3514_I2C_ADDR, i); | 189 | as3514.regs[i] = i2c_readbyte(AS3514_I2C_ADDR, i); |
190 | } | 190 | } |
191 | |||
192 | return 0; | ||
193 | } | 191 | } |
194 | 192 | ||
195 | void audiohw_postinit(void) | 193 | void audiohw_postinit(void) |
@@ -267,7 +265,7 @@ int audiohw_set_lineout_vol(int vol_l, int vol_r) | |||
267 | return 0; | 265 | return 0; |
268 | } | 266 | } |
269 | 267 | ||
270 | void audiohw_mute(int mute) | 268 | void audiohw_mute(bool mute) |
271 | { | 269 | { |
272 | if (mute) { | 270 | if (mute) { |
273 | as3514_write_or(HPH_OUT_L, (1 << 7)); | 271 | as3514_write_or(HPH_OUT_L, (1 << 7)); |