Re: [RFC PATCH 11/40] soundwire: cadence_master: simplify bus clash interrupt clear

2019-08-02 Thread Vinod Koul
On 25-07-19, 18:40, Pierre-Louis Bossart wrote: > 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. IIRC we were supposed to have different variable and that was the reason for setti

[RFC PATCH 11/40] soundwire: cadence_master: simplify bus clash interrupt clear

2019-07-25 Thread Pierre-Louis Bossart
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 --- drivers/soundwire/cadence_master.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver