5 Jul
2008
5 Jul
'08
1:37 p.m.
codec_reg_show() can't handle my TAS5504 codec. The codec has 104 (sparse out of 256) registers with variable lengths from 1 to 32 bytes.
Should the register cache really be part of the core? The core could still make the sysfs entries and use a callback to print them. reg_cache_size/reg_cache_step would then become private.
It's the sprintf that is the problem. I need to push that into my driver so that I can print out variable lengths. Or we need to make the core use an indirect table that encodes the lengths.
--
Jon Smirl
jonsmirl@gmail.com