ASoC: Intel: KeemBay: Fix warning potential ! vs ~ typo
authorMichael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Fri, 4 Sep 2020 02:09:04 +0000 (10:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 7 Sep 2020 14:28:57 +0000 (15:28 +0100)
commitb40f708deb951c3d46857fe5aed9cea1a506585b
treea5275059a464593f95cc055d1fe6803cb4632b52
parent1b3c63acb1e52d5af04b99b9b784ff3775c63313
ASoC: Intel: KeemBay: Fix warning potential ! vs ~ typo

To set platform in slave mode setting the MASTER_MODE bit is not needed.
Removing !MASTER_MODE conditional to avoid potential errors and warning.

Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200904020904.19577-1-michael.wei.hong.sit@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/keembay/kmb_platform.c