Skip to content

Commit b4f7438

Browse files
singalsukeyonjie
authored andcommitted
Drivers: Intel: DMIC: Re-arrange DMIC DAI component data
This patch collects the global DMIC driver parameters into single struct. The pointer global in every DMIC DAI instance points into the same data. All access from functions happens via the pointer that simplifies the next step to add NHLT binary data configuration for the driver. The previous dmic_prm[] is no more allocated dynamically since the single data structure is fixed size and not large. It simplifies the driver code that handles the multiple ownership. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 3551feb commit b4f7438

File tree

2 files changed

+112
-138
lines changed

2 files changed

+112
-138
lines changed

0 commit comments

Comments
 (0)