ASoC: cs42l42: Remove redundant writes to RS_PLUG/RS_UNPLUG masks
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 16 Nov 2021 16:38:59 +0000 (16:38 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Nov 2021 13:04:44 +0000 (13:04 +0000)
commitf2dfbaaa5404cadf70213146a5b4b89b647d9092
tree54af27be14f99d6b3d10eb9ef186b74ab28e2c0b
parent976001b10fa4441917f216452e70fd8c5aeccd94
ASoC: cs42l42: Remove redundant writes to RS_PLUG/RS_UNPLUG masks

The RS_PLUG and RS_UNPLUG interrupt masks are always written as 1 so
those writes are redundant and can be deleted.

This makes it completely clear in the code that only the TS_PLUG and
TS_UNPLUG masks are being changed.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211116163901.45390-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c