summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/hdac_hdmi.c
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2016-01-18 22:07:44 +0300
committerMark Brown <broonie@kernel.org>2016-02-22 06:02:47 +0300
commit6139b1b184d5f6257f692dc814dbcd47e4cf90f1 (patch)
tree395e6ecae72279ff8e7d3455b225ae4a56575455 /sound/soc/codecs/hdac_hdmi.c
parent99777b07efe3b533b4b6c67e59ad9138607c0467 (diff)
downloadlinux-6139b1b184d5f6257f692dc814dbcd47e4cf90f1.tar.xz
ASoC: fsl_ssi: remove explicit register defaults
There is no guarantee that on fsl_ssi module load SSI registers will have their power-on-reset values. In fact, if the driver is reloaded the values in registers will be whatever they were set to previously. However, the cache needs to be fully populated at probe time to avoid non-atomic allocations during register access. Special case here is imx21-class SSI, since according to datasheet it don't have SACC{ST,EN,DIS} regs. This fixes hard lockup on fsl_ssi module reload, at least in AC'97 mode. Fixes: 05cf237972fe ("ASoC: fsl_ssi: Add driver suspend and resume to support MEGA Fast") Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/hdac_hdmi.c')
0 files changed, 0 insertions, 0 deletions