diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-11-10 17:58:12 +0100 |
---|---|---|
committer | Paul Fagerburg <pfagerburg@chromium.org> | 2021-11-11 22:44:45 +0000 |
commit | 86dfd3c08329ff59c976c24fa47a2d2f6c88c1b5 (patch) | |
tree | df4fc7e0805a7e65c1d2609f1040840404e4fd72 /src/drivers/soundwire/alc5682 | |
parent | 5300b0327e19fec9752d09d314c6a73869e17e90 (diff) |
device/azalia_device: Adapt and export `codec_init()`
Make the `codec_init()` function non-static so that it can be used in
other places. Rename it to `azalia_codec_init()` for consistency with
the other functions of the API.
Also, update the function's signature to make it more flexible. Remove
the unused `dev` parameter and allow callers to pass the verb table to
use. Update the original call site to preserve behavior.
Change-Id: I5343796242065b5fedc78cd95bcf010c9e2623dd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59117
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/soundwire/alc5682')
0 files changed, 0 insertions, 0 deletions