diff options
author | Akshu Agrawal <akshu.agrawal@amd.com> | 2019-01-08 14:06:42 +0530 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-01-16 18:17:23 +0000 |
commit | 7ac3149b5d7535a642fc3165f78bb58e81a5148f (patch) | |
tree | 4a6e2dbfea7b135e9fa4cff83bc7fa5426f20b2c /src/drivers/generic/adau7002/chip.h | |
parent | f5b346c9120b9a10119b81a375de66a167ced0b5 (diff) |
drivers/generic/adau7002: Add wakeup-delay-ms property
Passes out wakeup-delay to driver. This delay is applied at
the start of capture to make sure dmics are ready before we
start recording. This avoids pop noise at begining of capture.
BUG=b:119926436
TEST=
With kernel patch
https://lore.kernel.org/patchwork/patch/1029806/
No pop sound heard at start of capture
Change-Id: I32b18bf80fad5899ab4093a127dfd52d589bc365
Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Reviewed-on: https://review.coreboot.org/c/30724
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/generic/adau7002/chip.h')
-rw-r--r-- | src/drivers/generic/adau7002/chip.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/generic/adau7002/chip.h b/src/drivers/generic/adau7002/chip.h index 95b4d1ec7f..f8cab445e3 100644 --- a/src/drivers/generic/adau7002/chip.h +++ b/src/drivers/generic/adau7002/chip.h @@ -17,6 +17,8 @@ #define __I2C_GENERIC_ADAU7002_CHIP_H__ struct drivers_generic_adau7002_config { + /* Delay */ + unsigned int wakeup_delay; }; #endif /* __I2C_GENERIC_ADAU7002_CHIP_H__ */ |