aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMartin Povišer <[email protected]>2022-09-19 19:34:53 +0200
committerMark Brown <[email protected]>2022-09-19 18:48:43 +0100
commit0a0342ede303fc420f3a388e1ae82da3ae8ff6bd (patch)
tree1b7153037fd9d798243eb0b730047603b64475f1 /lib/test_fortify/write_overflow-strncpy-src.c
parent7042bde216ada135b2f88423ae714ab9a22e3a22 (diff)
ASoC: tas2770: Reinit regcache on reset
On probe of the ASoC component, the device is reset but the regcache is retained. This means the regcache gets out of sync if the codec is rebound to a sound card for a second time. Fix it by reinitializing the regcache to defaults after the device is reset. Fixes: b0bcbe615756 ("ASoC: tas2770: Fix calling reset in probe") Signed-off-by: Martin Povišer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions