Skip to content
Commit 98d3088e authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: core: Fix check before defaulting to regmap



Check if the chip has provided a write operation (which is mandatory for
I/O) rather than looking for control data as some of the MFDs use a global
for this. Also skip the attempt if there's no regmap available by device
in case things get confused by the attempt to default.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
parent 9d40e558
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment