soundwire: cadence_master: simplify bus clash interrupt clear
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 25 Jul 2019 23:40:03 +0000 (18:40 -0500)
committerVinod Koul <vkoul@kernel.org>
Fri, 2 Aug 2019 12:06:47 +0000 (17:36 +0530)
commit68acd85996f6456ad95b458f19bc7309ed530a4b
tree58b08683b095126fef70d12f428c85f1d15798b7
parent0fc6041d7abc449198f895906f7ffac7647b603a
soundwire: cadence_master: simplify bus clash interrupt clear

The bus clash interrupts are generated when the status is one, and
also cleared by writing a one. It's overkill/useless to use an OR when
the bit is already set.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190725234032.21152-12-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c