Merge branch 'for-2.6.38/drivers' of git://git.kernel.dk/linux-2.6-block
[cascardo/linux.git] / sound / soc / soc-cache.c
index a9ebc07..8c2a21a 100644 (file)
@@ -1361,7 +1361,7 @@ static int snd_soc_lzo_cache_init(struct snd_soc_codec *codec)
                        goto err;
                }
                lzo_blocks[i]->sync_bmp = sync_bmp;
-               lzo_blocks[i]->sync_bmp_nbits = reg_size;
+               lzo_blocks[i]->sync_bmp_nbits = bmp_size;
                /* alloc the working space for the compressed block */
                ret = snd_soc_lzo_prepare(lzo_blocks[i]);
                if (ret < 0)