2 * uda134x.h -- UDA134x ALSA SoC Codec driver
4 * Copyright 2007 Dension Audio Systems Ltd.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
17 struct uda134x_platform_data {
22 ALSA SOC usually puts the device in standby mode when it's not used
23 for sometime. If you unset is_powered_on_standby the driver will
24 turn off the ADC/DAC when this callback is invoked and turn it back
25 on when needed. Unfortunately this will result in a very light bump
26 (it can be audible only with good earphones). If this bothers you
27 set is_powered_on_standby, you will have slightly higher power
28 consumption. Please note that sending the L3 command for ADC is
29 enough to make the bump, so it doesn't make difference if you
30 completely take off power from the codec.
32 int is_powered_on_standby;
33 #define UDA134X_UDA1340 1
34 #define UDA134X_UDA1341 2
35 #define UDA134X_UDA1344 3
36 #define UDA134X_UDA1345 4
39 #endif /* _UDA134X_H */