From: Takashi Iwai Date: Sat, 4 Apr 2015 10:17:28 +0000 (+0200) Subject: ALSA: hda - Sync node attributes at resume from widget power saving X-Git-Tag: omap-for-v4.2/o2_dc~120^2~6^2~27 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d545a57c5f84;p=pandora-kernel.git ALSA: hda - Sync node attributes at resume from widget power saving So far we assumed that the node attributes like amp values remain during the power state transition of the node itself. While this is true for IDT/STAC codecs I've tested, but some other codecs don't seem behaving in that way. This patch implements a partial sync mechanism specific to the given widget node. Now we've merged the regmap support, and it can be easily written with regcache_sync_region(). Tested-by: Hui Wang Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed