From: Mark Brown Date: Tue, 29 Jul 2008 10:42:25 +0000 (+0100) Subject: ALSA: ASoC: Allow codecs to override register display X-Git-Tag: v2.6.28-rc1~720^2~248 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58cd33c0f375578cfda25a52ed280caa888b6254;p=pandora-kernel.git ALSA: ASoC: Allow codecs to override register display Some codecs have unusual features in their register maps such as very large registers representing arrays of coefficients. Support these codecs in the register cache sysfs file by allowing them to provide a function register_display() overriding the default output for register contents. Also ensure that we don't overflow PAGE_SIZE while writing out the register dump. Signed-off-by: Mark Brown Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed