aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/echo/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/echo/echo.c')
-rw-r--r--drivers/misc/echo/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/echo/echo.c b/drivers/misc/echo/echo.c
index 8a5adc0d2e88..3ebe5d75ad6a 100644
--- a/drivers/misc/echo/echo.c
+++ b/drivers/misc/echo/echo.c
@@ -381,7 +381,7 @@ int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx)
381 */ 381 */
382 ec->factor = 0; 382 ec->factor = 0;
383 ec->shift = 0; 383 ec->shift = 0;
384 if ((ec->nonupdate_dwell == 0)) { 384 if (!ec->nonupdate_dwell) {
385 int p, logp, shift; 385 int p, logp, shift;
386 386
387 /* Determine: 387 /* Determine: