wrong return code in mas_direct_config_write()


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1185 a1c6a512-1295-4272-9138-f99709370657
diff --git a/firmware/drivers/mas.c b/firmware/drivers/mas.c
index c8082c8..c4daed9 100644
--- a/firmware/drivers/mas.c
+++ b/firmware/drivers/mas.c
@@ -312,7 +312,7 @@
     }
 
     i2c_end();
-    return 0;
+    return ret;
 }
 
 int mas_codec_writereg(int reg, unsigned int val)