• Richard Fitzgerald's avatar
    ASoC: wm_adsp: Move DSP Rate controls into the codec · 336d0442
    Richard Fitzgerald authored
    The rate controls are codec-specific, it's not possible to
    generically say what the range or the meaning of each control
    is (or even if they exist at all) - that depends on the
    particular codec.
    
    This is currently being handled for Arizona codecs by putting
    an Arizona-specific table of controls inside the wm_adsp driver.
    This creates a dependency between wm_adsp and arizona.c, and is an
    awkward solution if the ADSP is used in another family of codecs
    
    Fix this by moving the Arizona-specific rate controls into the
    Arizona codec drivers.
    Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    336d0442
arizona.c 54.7 KB