audio: Cleanup and fix voicecall preparation
authorChristopher N. Hesse <raymanfx@gmail.com>
Wed, 15 Feb 2017 11:18:41 +0000 (12:18 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 16 Feb 2017 13:50:48 +0000 (14:50 +0100)
commit130da9f065ce68a5ec34542bfa6998ae6d14706c
tree6e4afd884be55aeffa7abc47090386bad8388758
parent8794541f197972cca7b4c2e81c9107e04330b3e3
audio: Cleanup and fix voicecall preparation

 * if (usecase == NULL) should actually be if (vc_usecase == NULL)
 * Avoid unnecessary if-block indentation by updating the control
   flow

Change-Id: If00ac405a1eac429862b953580e8614227015134
audio/audio_hw.c