diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2014-09-09 17:03:21 +0100 |
---|---|---|
committer | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-10-20 14:23:28 +0100 |
commit | 899cecebd15a7d08781d5f9362ec4bd7cc8863da (patch) | |
tree | e58b995c36c9b8185a9e1f98d07e7df13db77d1a /include | |
parent | 33fe27c809e0fa67e14db9fec37c5f2ef849aecb (diff) |
mixer: remove separate info list
Each mixer_ctl has an associated snd_ctl_elem_info, which was
kept in a separate array with pointers from the mixer_ctl to
its corresponding snd_ctl_elem_info. This means double
pointer dereferences when looking up the info. It also means
extra work to add support for extending the arrays to include
dynamically added controls because the pointers from the ctl
array to the info array would have to be updated.
This patch removes the info list and gives each mixer_ctl struct
its own local snd_ctl_elem_info, removing the additional pointer
dereferencing.
Change-Id: I03f7d411afd9e37f58b984584712fee64d85ef4e
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions