diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-12-05 18:52:38 +0100 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-12-17 13:55:10 +0000 |
commit | 4919028e6207e011f93488732ebaaf70b8377cd5 (patch) | |
tree | 40215a5af607635ce530ebd3b39a7a736bf41d8f /tests | |
parent | f23c6a8ff5f093476633156d8dff782080335bb0 (diff) |
device/azalia_device.c: Add codec reset helpers
Many uses of `azalia_set_bits` are used to toggle the reset bit. To
avoid having to repeat the register operations and the corresponding
comment, create two helpers with self-explanatory names. They will be
put to use in subsequent commits, with one change for each function.
Change-Id: If0594fdaf99319f08a2e272cd37958f0f216e654
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48355
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions