mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 08:49:45 +00:00
![Lars-Peter Clausen](/assets/img/avatar_default.png)
According to its documentation the is_powered_on_standby field of the
uda134x platform data is supposed to prevent the the driver from shutting
down the ADC and DAC in standby mode. This behavior was broken in commit
commit f0fba2ad1b
("ASoC: multi-component - ASoC Multi-Component Support")
almost 5 years ago and all the flag does now is cause the driver to go to
SND_SOC_BIAS_ON in probe, just for the ASoC core to put it back into
SND_SOC_BIAS_STANDBY right after probe.
Apparently the intended behavior has not been missed, so just remove
is_powered_on_standby from the platform data struct.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
27 lines
597 B
C
27 lines
597 B
C
/*
|
|
* uda134x.h -- UDA134x ALSA SoC Codec driver
|
|
*
|
|
* Copyright 2007 Dension Audio Systems Ltd.
|
|
* Author: Zoltan Devai
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _UDA134X_H
|
|
#define _UDA134X_H
|
|
|
|
#include <sound/l3.h>
|
|
|
|
struct uda134x_platform_data {
|
|
struct l3_pins l3;
|
|
void (*power) (int);
|
|
int model;
|
|
#define UDA134X_UDA1340 1
|
|
#define UDA134X_UDA1341 2
|
|
#define UDA134X_UDA1344 3
|
|
#define UDA134X_UDA1345 4
|
|
};
|
|
|
|
#endif /* _UDA134X_H */
|