From: Roman Volkov Date: Fri, 24 Jan 2014 12:18:08 +0000 (+0400) Subject: ALSA: oxygen: Xonar DG(X): add new CS4245 SPI functions X-Git-Tag: v3.14-rc1~16^2~2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed61935cc5b70f84480dfd465c0e15a060c1f2c;p=pandora-kernel.git ALSA: oxygen: Xonar DG(X): add new CS4245 SPI functions Add the new SPI write and read functions. The SPI read function is used for creating initial registers dump and may be used for debugging purposes. SPI operations are cached, so there is a new function to manage the cache (shadow). I have to remove the shift from the CS4245_SPI_* constants, since when we are performing the reading, we need to shift by 8 instead of 16. Signed-off-by: Roman Volkov Signed-off-by: Clemens Ladisch --- Reading git-diff-tree failed