From e313d12c58bd5354fbe197cd85f034db172c4430 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Thu, 21 Jan 2010 12:46:35 +0200 Subject: Style cleanups in fir.h and mmx.h Coding style issues only. No functional change. --- drivers/staging/echo/fir.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'drivers/staging/echo/fir.h') diff --git a/drivers/staging/echo/fir.h b/drivers/staging/echo/fir.h index 092df08..288bffc 100644 --- a/drivers/staging/echo/fir.h +++ b/drivers/staging/echo/fir.h @@ -159,10 +159,11 @@ static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample) fir->history[fir->curr_pos + fir->taps] = sample; mmx_coeffs = (union mmx_t *) fir->coeffs; - mmx_hist = (union mmx_t *) & fir->history[fir->curr_pos]; + mmx_hist = (union mmx_t *) &fir->history[fir->curr_pos]; i = fir->taps; pxor_r2r(mm4, mm4); - /* 8 samples per iteration, so the filter must be a multiple of 8 long. */ + /* 8 samples per iteration, so the filter must be a multiple of + 8 long. */ while (i > 0) { movq_m2r(mmx_coeffs[0], mm0); movq_m2r(mmx_coeffs[1], mm2); @@ -190,10 +191,11 @@ static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample) fir->history[fir->curr_pos + fir->taps] = sample; xmm_coeffs = (union xmm_t *) fir->coeffs; - xmm_hist = (union xmm_t *) & fir->history[fir->curr_pos]; + xmm_hist = (union xmm_t *) &fir->history[fir->curr_pos]; i = fir->taps; pxor_r2r(xmm4, xmm4); - /* 16 samples per iteration, so the filter must be a multiple of 16 long. */ + /* 16 samples per iteration, so the filter must be a multiple of + 16 long. */ while (i > 0) { movdqu_m2r(xmm_coeffs[0], xmm0); movdqu_m2r(xmm_coeffs[1], xmm2); -- cgit v1.2.3