08 May, 2016

1 commit

  • If the DMAs are not being quiesced properly, it may lead to
    stability issues, so the recommendation is to wait till DMAs are
    stopped.

    After setting the stop bit of RIRB/CORB DMA, we should wait for
    stop bit to be set.

    Signed-off-by: Jeeja KP
    Signed-off-by: Vinod Koul
    Signed-off-by: Takashi Iwai

    Jeeja KP
     

26 Feb, 2016

1 commit

  • Currently the interrupt handler of HD-audio driver assumes that no irq
    update is needed while processing the irq. But in reality, it has
    been confirmed that the HW irq is issued even during the irq
    handling. Since we clear the irq status at the beginning, process the
    interrupt, then exits from the handler, the lately issued interrupt is
    left untouched without being properly processed.

    This patch changes the interrupt handler code to loop over the
    check-and-process. The handler tries repeatedly as long as the IRQ
    status are turned on, and either stream or CORB/RIRB is handled.

    For checking the stream handling, snd_hdac_bus_handle_stream_irq()
    returns a value indicating the stream indices bits. Other than that,
    the change is only in the irq handler itself.

    Reported-by: Libin Yang
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

16 Apr, 2015

2 commits

  • Moved azx_alloc_stream_pages and azx_free_stream_pages
    to controller library.

    Signed-off-by: Jeeja KP
    Signed-off-by: Subhransu S. Prusty
    Signed-off-by: Vinod Koul
    Signed-off-by: Takashi Iwai

    Jeeja KP
     
  • This patch adds the controller helper codes to hda-core library.
    The I/O access ops are added to the bus ops. The CORB/RIRB, the basic
    attributes like irq# and iomap address, some locks and the list of
    streams are added to the bus object, together with the stream object
    and its helpers.

    Currently the codes are just copied from the legacy driver, so you can
    find duplicated codes in both directories. Only constants are removed
    from the original hda_controller.h. More integration work will follow
    in the later patches.

    Signed-off-by: Takashi Iwai

    Takashi Iwai