mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 02:06:53 +07:00
ASoC: Fixes for v3.10
A few small driver-specific fixes, none of them especially crippling. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJRkxCXAAoJELSic+t+oim9YTQP/Avaf/2NQymaMgeIDcr2e0kD 4lZsMp/Oz/9dtD83jIDDpcjggDUzZkO8IlOhTfqway1e2xmDBUZDW+wXFQXnINfx r8pNQgHCZWTXDGC9AAsIzleorCQkswECXgsNLHK+pjJ2GZ0kQeRCW04mIeHYYlVK HuwKDp+AI8nuvQQA7E8wFvV34TUxyoM7O2gptVUtRq4hPk1WEvctmE+xu/UtbxR2 yBM3ZYEfB0G8Dw5Nol+BmBWGxhLFJuNT5R1SN8eDvTbzviFN+kVqD6xtf+dcaBYj c/ePgtAPKUQdZZocAp1wS8WxnUNHwV4tgZJBdzNRE+t/AFhtZrpJ4UoP2j14F4Z7 2ko/tzJ+dyKQE/rLbHVp9sFReVYGfJSrICitM0YIlintNNgZKTOZJ7cHEPFMBU+N lcRHqtf8iEFQds4iQmBeXusqTxGvCp/jITSy28Vy10zbO4h+pwv1OJEEpMC9rjKU wR55Nt0/C5ZlwiGpBUNrQCpujRZbCPPKH0rTG3uGIlOh0bdbANyKOSQTo+JAXALy hdwBJupcgzmcf9nNlx6+k/qfQQX0FAQioefnC2+sEqO+bmHcJX1XJiS5e71O4hxk b+hWiJM+2inn8tYVHrqmTqrtw1H6yE2D1kp7AFc2c02LR7uK6pH8276epUE2CPGh jgE5AHXuYhduf1hIJLj/ =GQj5 -----END PGP SIGNATURE----- Merge tag 'asoc-v3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus ASoC: Fixes for v3.10 A few small driver-specific fixes, none of them especially crippling.
This commit is contained in:
commit
478e858b2f
@ -348,25 +348,25 @@
|
||||
|
||||
/* AB8500_ADSLOTSELX */
|
||||
#define AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_ODD 0x00
|
||||
#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_ODD 0x01
|
||||
#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_ODD 0x02
|
||||
#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_ODD 0x03
|
||||
#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_ODD 0x04
|
||||
#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_ODD 0x05
|
||||
#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_ODD 0x06
|
||||
#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_ODD 0x07
|
||||
#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_ODD 0x08
|
||||
#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_ODD 0x0F
|
||||
#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_ODD 0x10
|
||||
#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_ODD 0x20
|
||||
#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_ODD 0x30
|
||||
#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_ODD 0x40
|
||||
#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_ODD 0x50
|
||||
#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_ODD 0x60
|
||||
#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_ODD 0x70
|
||||
#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_ODD 0x80
|
||||
#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_ODD 0xF0
|
||||
#define AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_EVEN 0x00
|
||||
#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_EVEN 0x10
|
||||
#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_EVEN 0x20
|
||||
#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_EVEN 0x30
|
||||
#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_EVEN 0x40
|
||||
#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_EVEN 0x50
|
||||
#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_EVEN 0x60
|
||||
#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_EVEN 0x70
|
||||
#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_EVEN 0x80
|
||||
#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_EVEN 0xF0
|
||||
#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_EVEN 0x01
|
||||
#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_EVEN 0x02
|
||||
#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_EVEN 0x03
|
||||
#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_EVEN 0x04
|
||||
#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_EVEN 0x05
|
||||
#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_EVEN 0x06
|
||||
#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_EVEN 0x07
|
||||
#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_EVEN 0x08
|
||||
#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_EVEN 0x0F
|
||||
#define AB8500_ADSLOTSELX_EVEN_SHIFT 0
|
||||
#define AB8500_ADSLOTSELX_ODD_SHIFT 4
|
||||
|
||||
|
@ -1488,17 +1488,17 @@ static int da7213_probe(struct snd_soc_codec *codec)
|
||||
DA7213_DMIC_DATA_SEL_SHIFT);
|
||||
break;
|
||||
}
|
||||
switch (pdata->dmic_data_sel) {
|
||||
switch (pdata->dmic_samplephase) {
|
||||
case DA7213_DMIC_SAMPLE_ON_CLKEDGE:
|
||||
case DA7213_DMIC_SAMPLE_BETWEEN_CLKEDGE:
|
||||
dmic_cfg |= (pdata->dmic_data_sel <<
|
||||
dmic_cfg |= (pdata->dmic_samplephase <<
|
||||
DA7213_DMIC_SAMPLEPHASE_SHIFT);
|
||||
break;
|
||||
}
|
||||
switch (pdata->dmic_data_sel) {
|
||||
switch (pdata->dmic_clk_rate) {
|
||||
case DA7213_DMIC_CLK_3_0MHZ:
|
||||
case DA7213_DMIC_CLK_1_5MHZ:
|
||||
dmic_cfg |= (pdata->dmic_data_sel <<
|
||||
dmic_cfg |= (pdata->dmic_clk_rate <<
|
||||
DA7213_DMIC_CLK_RATE_SHIFT);
|
||||
break;
|
||||
}
|
||||
|
@ -667,6 +667,7 @@ static int wm0010_boot(struct snd_soc_codec *codec)
|
||||
/* On wm0010 only the CLKCTRL1 value is used */
|
||||
pll_rec.clkctrl1 = wm0010->pll_clkctrl1;
|
||||
|
||||
ret = -ENOMEM;
|
||||
len = pll_rec.length + 8;
|
||||
out = kzalloc(len, GFP_KERNEL);
|
||||
if (!out) {
|
||||
|
Loading…
Reference in New Issue
Block a user