hdaudio.c (a108772d03d8bdb43258218b00bfe43bbe1e8800) | hdaudio.c (c403dcd8b0c4dc01974329e38dc3f82859fd6f99) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2// 3// Copyright(c) 2021-2022 Intel Corporation. All rights reserved. 4// 5// Authors: Cezary Rojewski <cezary.rojewski@intel.com> 6// Amadeusz Slawinski <amadeuszx.slawinski@linux.intel.com> 7// 8 --- 28 unchanged lines hidden (view full) --- 37 38 dl[i].id = i; 39 dl[i].nonatomic = 1; 40 dl[i].no_pcm = 1; 41 dl[i].dpcm_playback = 1; 42 dl[i].dpcm_capture = 1; 43 dl[i].platforms = platform; 44 dl[i].num_platforms = 1; | 1// SPDX-License-Identifier: GPL-2.0-only 2// 3// Copyright(c) 2021-2022 Intel Corporation. All rights reserved. 4// 5// Authors: Cezary Rojewski <cezary.rojewski@intel.com> 6// Amadeusz Slawinski <amadeuszx.slawinski@linux.intel.com> 7// 8 --- 28 unchanged lines hidden (view full) --- 37 38 dl[i].id = i; 39 dl[i].nonatomic = 1; 40 dl[i].no_pcm = 1; 41 dl[i].dpcm_playback = 1; 42 dl[i].dpcm_capture = 1; 43 dl[i].platforms = platform; 44 dl[i].num_platforms = 1; |
45 dl[i].ignore_pmdown_time = 1; |
|
45 46 dl[i].codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); 47 dl[i].cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); 48 if (!dl[i].codecs || !dl[i].cpus) 49 return -ENOMEM; 50 51 dl[i].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "%s-cpu%d", cname, i); 52 if (!dl[i].cpus->dai_name) --- 242 unchanged lines hidden --- | 46 47 dl[i].codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); 48 dl[i].cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); 49 if (!dl[i].codecs || !dl[i].cpus) 50 return -ENOMEM; 51 52 dl[i].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "%s-cpu%d", cname, i); 53 if (!dl[i].cpus->dai_name) --- 242 unchanged lines hidden --- |