summaryrefslogtreecommitdiffstats
path: root/audio/headset.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-10-03 13:54:14 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-10-03 13:54:14 +0000
commita13f569db6e188218919014e97e37e457f5940ee (patch)
tree6c8e17c0a884a426dd74e082f55ae10a9da55317 /audio/headset.c
parent91e4a8e4a2c430a987d735a2241b0e9bd5e2d978 (diff)
Minor coding style fixes
Diffstat (limited to 'audio/headset.c')
-rw-r--r--audio/headset.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 5759ebe0..700149ee 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1246,8 +1246,7 @@ done:
"SpeakerGainChanged",
DBUS_TYPE_UINT16, &gain,
DBUS_TYPE_INVALID);
- }
- else {
+ } else {
hs->mic_gain = gain;
dbus_connection_emit_signal(conn, device->path,
AUDIO_HEADSET_INTERFACE,
@@ -1554,8 +1553,7 @@ void headset_set_state(struct device *dev, headset_state_t state)
AUDIO_HEADSET_INTERFACE,
"Connected",
DBUS_TYPE_INVALID);
- }
- else {
+ } else {
close_sco(dev);
dbus_connection_emit_signal(dev->conn, dev->path,
AUDIO_HEADSET_INTERFACE,