diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-03-10 23:42:50 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-12 01:02:54 -0500 |
commit | a360b623fc5593d896a8762153bacdabfe29dfb9 (patch) | |
tree | 5eddf4cc45834900d265d1439f2b73d55851f2c8 | |
parent | 39fa37d51ae904968c49ef49165df7fec66fd9ea (diff) |
ASoC: Intel: Skylake: Fix whitepsace issues
Some double whitespaces issues existed in driver, so fix them up.
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-dsp.c | 14 | ||||
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-dsp.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.c b/sound/soc/intel/skylake/skl-sst-dsp.c index 1bfb7f63b572..646d10a0d176 100644 --- a/sound/soc/intel/skylake/skl-sst-dsp.c +++ b/sound/soc/intel/skylake/skl-sst-dsp.c | |||
@@ -34,7 +34,7 @@ void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state) | |||
34 | mutex_unlock(&ctx->mutex); | 34 | mutex_unlock(&ctx->mutex); |
35 | } | 35 | } |
36 | 36 | ||
37 | static int skl_dsp_core_set_reset_state(struct sst_dsp *ctx) | 37 | static int skl_dsp_core_set_reset_state(struct sst_dsp *ctx) |
38 | { | 38 | { |
39 | int ret; | 39 | int ret; |
40 | 40 | ||
@@ -60,7 +60,7 @@ static int skl_dsp_core_set_reset_state(struct sst_dsp *ctx) | |||
60 | return ret; | 60 | return ret; |
61 | } | 61 | } |
62 | 62 | ||
63 | static int skl_dsp_core_unset_reset_state(struct sst_dsp *ctx) | 63 | static int skl_dsp_core_unset_reset_state(struct sst_dsp *ctx) |
64 | { | 64 | { |
65 | int ret; | 65 | int ret; |
66 | 66 | ||
@@ -87,7 +87,7 @@ static int skl_dsp_core_unset_reset_state(struct sst_dsp *ctx) | |||
87 | return ret; | 87 | return ret; |
88 | } | 88 | } |
89 | 89 | ||
90 | static bool is_skl_dsp_core_enable(struct sst_dsp *ctx) | 90 | static bool is_skl_dsp_core_enable(struct sst_dsp *ctx) |
91 | { | 91 | { |
92 | int val; | 92 | int val; |
93 | bool is_enable; | 93 | bool is_enable; |
@@ -140,7 +140,7 @@ static int skl_dsp_start_core(struct sst_dsp *ctx) | |||
140 | return ret; | 140 | return ret; |
141 | } | 141 | } |
142 | 142 | ||
143 | static int skl_dsp_core_power_up(struct sst_dsp *ctx) | 143 | static int skl_dsp_core_power_up(struct sst_dsp *ctx) |
144 | { | 144 | { |
145 | int ret; | 145 | int ret; |
146 | 146 | ||
@@ -166,7 +166,7 @@ static int skl_dsp_core_power_up(struct sst_dsp *ctx) | |||
166 | return ret; | 166 | return ret; |
167 | } | 167 | } |
168 | 168 | ||
169 | static int skl_dsp_core_power_down(struct sst_dsp *ctx) | 169 | static int skl_dsp_core_power_down(struct sst_dsp *ctx) |
170 | { | 170 | { |
171 | /* update bits */ | 171 | /* update bits */ |
172 | sst_dsp_shim_update_bits_unlocked(ctx, SKL_ADSP_REG_ADSPCS, | 172 | sst_dsp_shim_update_bits_unlocked(ctx, SKL_ADSP_REG_ADSPCS, |
@@ -181,7 +181,7 @@ static int skl_dsp_core_power_down(struct sst_dsp *ctx) | |||
181 | "Power down"); | 181 | "Power down"); |
182 | } | 182 | } |
183 | 183 | ||
184 | static int skl_dsp_enable_core(struct sst_dsp *ctx) | 184 | static int skl_dsp_enable_core(struct sst_dsp *ctx) |
185 | { | 185 | { |
186 | int ret; | 186 | int ret; |
187 | 187 | ||
@@ -195,7 +195,7 @@ static int skl_dsp_enable_core(struct sst_dsp *ctx) | |||
195 | return skl_dsp_start_core(ctx); | 195 | return skl_dsp_start_core(ctx); |
196 | } | 196 | } |
197 | 197 | ||
198 | int skl_dsp_disable_core(struct sst_dsp *ctx) | 198 | int skl_dsp_disable_core(struct sst_dsp *ctx) |
199 | { | 199 | { |
200 | int ret; | 200 | int ret; |
201 | 201 | ||
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.h b/sound/soc/intel/skylake/skl-sst-dsp.h index a82c3de1a228..676e78be0169 100644 --- a/sound/soc/intel/skylake/skl-sst-dsp.h +++ b/sound/soc/intel/skylake/skl-sst-dsp.h | |||
@@ -148,7 +148,7 @@ int skl_cldma_prepare(struct sst_dsp *ctx); | |||
148 | void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state); | 148 | void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state); |
149 | struct sst_dsp *skl_dsp_ctx_init(struct device *dev, | 149 | struct sst_dsp *skl_dsp_ctx_init(struct device *dev, |
150 | struct sst_dsp_device *sst_dev, int irq); | 150 | struct sst_dsp_device *sst_dev, int irq); |
151 | int skl_dsp_disable_core(struct sst_dsp *ctx); | 151 | int skl_dsp_disable_core(struct sst_dsp *ctx); |
152 | bool is_skl_dsp_running(struct sst_dsp *ctx); | 152 | bool is_skl_dsp_running(struct sst_dsp *ctx); |
153 | irqreturn_t skl_dsp_sst_interrupt(int irq, void *dev_id); | 153 | irqreturn_t skl_dsp_sst_interrupt(int irq, void *dev_id); |
154 | int skl_dsp_wake(struct sst_dsp *ctx); | 154 | int skl_dsp_wake(struct sst_dsp *ctx); |