[2/2] ASoC: Intel: skl.c match braces for if-else
diff mbox

Message ID 1435079413-28094-3-git-send-email-vinod.koul@intel.com
State New
Headers show

Commit Message

Vinod Koul June 23, 2015, 5:10 p.m. UTC
Coding style madates that if-else should match braces even if one of them is
a single line statement

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 sound/soc/intel/skylake/skl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 0ab02af0325a..1e70e3962c76 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -394,9 +394,9 @@  static int skl_first_init(struct hdac_ext_bus *ebus)
 	dev_dbg(bus->dev, "chipset global capabilities = 0x%x\n", gcap);
 
 	/* allow 64bit DMA address if supported by H/W */
-	if (!dma_set_mask(bus->dev, DMA_BIT_MASK(64)))
+	if (!dma_set_mask(bus->dev, DMA_BIT_MASK(64))) {
 		dma_set_coherent_mask(bus->dev, DMA_BIT_MASK(64));
-	else {
+	} else {
 		dma_set_mask(bus->dev, DMA_BIT_MASK(32));
 		dma_set_coherent_mask(bus->dev, DMA_BIT_MASK(32));
 	}