[alsa-devel] [PATCH 2/2] ASoC: Intel: skl.c match braces for if-else
Vinod Koul
vinod.koul at intel.com
Tue Jun 23 19:10:13 CEST 2015
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 at intel.com>
---
sound/soc/intel/skylake/skl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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));
}
--
1.9.1
More information about the Alsa-devel
mailing list