da732x.c (48e278746070b5fc62ec3da2e65f7cd511f6bbf4) | da732x.c (b2a4ec3d48fb53c99cb2e332f6e58eef770f1ed9) |
---|---|
1/* 2 * da732x.c --- Dialog DA732X ALSA SoC Audio Driver 3 * 4 * Copyright (C) 2012 Dialog Semiconductor GmbH 5 * 6 * Author: Michal Hajduk <Michal.Hajduk@diasemi.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 1529 unchanged lines hidden (view full) --- 1538static int da732x_remove(struct snd_soc_codec *codec) 1539{ 1540 1541 da732x_set_bias_level(codec, SND_SOC_BIAS_OFF); 1542 1543 return 0; 1544} 1545 | 1/* 2 * da732x.c --- Dialog DA732X ALSA SoC Audio Driver 3 * 4 * Copyright (C) 2012 Dialog Semiconductor GmbH 5 * 6 * Author: Michal Hajduk <Michal.Hajduk@diasemi.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 1529 unchanged lines hidden (view full) --- 1538static int da732x_remove(struct snd_soc_codec *codec) 1539{ 1540 1541 da732x_set_bias_level(codec, SND_SOC_BIAS_OFF); 1542 1543 return 0; 1544} 1545 |
1546struct snd_soc_codec_driver soc_codec_dev_da732x = { | 1546static struct snd_soc_codec_driver soc_codec_dev_da732x = { |
1547 .probe = da732x_probe, 1548 .remove = da732x_remove, 1549 .set_bias_level = da732x_set_bias_level, 1550 .controls = da732x_snd_controls, 1551 .num_controls = ARRAY_SIZE(da732x_snd_controls), 1552 .dapm_widgets = da732x_dapm_widgets, 1553 .num_dapm_widgets = ARRAY_SIZE(da732x_dapm_widgets), 1554 .dapm_routes = da732x_dapm_routes, --- 73 unchanged lines hidden --- | 1547 .probe = da732x_probe, 1548 .remove = da732x_remove, 1549 .set_bias_level = da732x_set_bias_level, 1550 .controls = da732x_snd_controls, 1551 .num_controls = ARRAY_SIZE(da732x_snd_controls), 1552 .dapm_widgets = da732x_dapm_widgets, 1553 .num_dapm_widgets = ARRAY_SIZE(da732x_dapm_widgets), 1554 .dapm_routes = da732x_dapm_routes, --- 73 unchanged lines hidden --- |