diff options
| author | Fletcher Woodruff <[email protected]> | 2019-06-14 13:48:51 -0600 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-06-17 16:12:23 +0100 |
| commit | 8893cba2fa6994ac8434cbc616eeddcde211ec45 (patch) | |
| tree | eafc4094551e1b05d08c10704ffd08e51d6d1881 /tools/perf/scripts/python | |
| parent | 9de7eaddfa7f47fbb1cd9cdb9aab405599ef414e (diff) | |
ASoC: rt5677: fall back to DT prop names on error
The rt5677 driver uses ACPI-style property names to read from the
device API. However, these do not match the property names in _DSD
used on the Chromebook Pixel 2015, which are closer to the Device Tree
style. Unify the two functions for reading from the device API so that
they try ACPI-style names first and fall back to the DT names on error.
With this patch, plugging and unplugging the headphone jack switches
between headphones and speakers automatically.
Signed-off-by: Fletcher Woodruff <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions