diff --git a/tas2770-codec.c b/tas2770-codec.c
index 2e77cd107088973e2fc7462aa803d1b7818fe6f5..9d75894a67f915645170ed87ef17b6edd6050c0f 100644 (file)
--- a/tas2770-codec.c
+++ b/tas2770-codec.c
dev_dbg(pTAS2770->dev, "%s, reg: 0x%x, value: 0x%x\n", __func__, reg, value);
mutex_unlock(&pTAS2770->dev_lock);
- return nResult;
+
+ if(nResult >= 0)
+ return value;
+ else
+ return nResult;
}