ASOC: codec_reg_show and variable length registers | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
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@xxxxxxxxx _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
[Home] [ALSA User] [Linux Audio Users] [Sound Cards] [Computer Speakers] [Kernel List] [Asterisk PBX] [Drives] [Photo Sharing] [Linux Sound] [Video 4 Linux] [Gimp] [Yosemite News]
![]() |