summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-11-01 18:59:53 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-11-05 09:59:45 +0400
commita170c99170589488531f7f576ad5e248b1c7c589 (patch)
tree77d4c63663dac283e978cdaa1d8e0b4df565da78 /firmware/drivers
parentd602717735b09cdd39e4e8c75d69ce8c5e2d957d (diff)
ma9: Slightly change df1704 driver API.
This change should be done for easier integration of ma8 port.
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/df1704.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/audio/df1704.c b/firmware/drivers/audio/df1704.c
index ec8d56b955..917cecb767 100644
--- a/firmware/drivers/audio/df1704.c
+++ b/firmware/drivers/audio/df1704.c
@@ -67,7 +67,7 @@ static int vol_tenthdb2hw(const int tdb)
}
-void df1704_init(void)
+void audiohw_init(void)
{
df1704_write_reg(DF1704_MODE(2),
DF1704_OW_24 |
@@ -81,7 +81,7 @@ void df1704_init(void)
DF1704_I2S_ON);
}
-void df1704_mute(void)
+void audiohw_mute(void)
{
df1704_write_reg(DF1704_MODE(2),
DF1704_OW_24 |
@@ -90,7 +90,7 @@ void df1704_mute(void)
DF1704_MUTE_ON);
}
-void df1704_unmute(void)
+void audiohw_unmute(void)
{
df1704_write_reg(DF1704_MODE(2),
DF1704_OW_24 |