summaryrefslogtreecommitdiff
path: root/drivers/staging/echo/fir.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/echo/fir.h')
-rw-r--r--drivers/staging/echo/fir.h10
1 files changed, 6 insertions, 4 deletions
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);