02 Jul, 2018

1 commit


12 Feb, 2018

1 commit


05 Sep, 2017

2 commits

  • AC97 is a bus for sound usage. It enables for a AC97 AC-Link to link one
    controller to 0 to 4 AC97 codecs.

    The goal of this new implementation is to implement a device/driver
    model for AC97, with an automatic scan of the bus and automatic
    discovery of AC97 codec devices.

    Signed-off-by: Robert Jarzmik
    Reviewed-by: Takashi Iwai
    Signed-off-by: Mark Brown

    Robert Jarzmik
     
  • Split out from the ac97_codec.h the ac97 generic registers, which can be
    used by a codec, typically a generic ac97 codec, and by the ac97 bus, to
    scan an ac97 AC-Link.

    This split encompasses all the AC97 standard registers, but not the
    codec specific ones.

    In order to have a clean split between former ac97 bus implementation
    and the new coming one in sound/ac97, it is safer to not include any
    former ac97 includes, excepting in sound/ac97/compat.c.

    Amongst the thing to isolate :
    - don't have the struct snd_ac97 in sound/ac97/* (except compat.c) to not
    be "fooled" by a definition which would come with ac97_codec.h by
    "chance".
    - don't have to have snd_a97_*() functions, as they rely on struct
    snd_ac97.
    - don't want the struct snd_ac97_bus_ops, there is a new one

    Signed-off-by: Robert Jarzmik
    Reviewed-by: Takashi Iwai
    Signed-off-by: Mark Brown

    Robert Jarzmik