Re: [PATCH 1/4] ALSA: cs46xx: Adjust 33 function calls together with a variable assignment

2017-11-13 Thread Dan Carpenter
On Mon, Nov 13, 2017 at 07:22:30PM +0100, SF Markus Elfring wrote: > - > - if ( (cpcm->pcm_channel = cs46xx_dsp_create_pcm_channel (chip, > sample_rate, cpcm, > - > cpcm->hw_buf.addr, > -

Re: [PATCH 1/4] ALSA: cs46xx: Adjust 33 function calls together with a variable assignment

2017-11-13 Thread Dan Carpenter
On Mon, Nov 13, 2017 at 07:22:30PM +0100, SF Markus Elfring wrote: > - > - if ( (cpcm->pcm_channel = cs46xx_dsp_create_pcm_channel (chip, > sample_rate, cpcm, > - > cpcm->hw_buf.addr, > -

[PATCH 1/4] ALSA: cs46xx: Adjust 33 function calls together with a variable assignment

2017-11-13 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 13 Nov 2017 18:50:19 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring

[PATCH 1/4] ALSA: cs46xx: Adjust 33 function calls together with a variable assignment

2017-11-13 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 13 Nov 2017 18:50:19 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring --- sound/pci/cs46xx/cs46xx.c | 31