ASoC: rt5651: Add rt5651_apply_properties() helper function
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Feb 2018 10:46:46 +0000 (11:46 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 1 Mar 2018 17:32:25 +0000 (17:32 +0000)
commit5f293d4354f8aae3c8617f83a3cbd30047676b4d
treea4bac43171d79e9f99e358509535112dc47dce4d
parent6f0b819ae2b36614a514824c622ac0e02650b718
ASoC: rt5651: Add rt5651_apply_properties() helper function

Move the applying of the differential input and dmic properties to a new
rt5651_apply_properties() helper function. This new function can be called
by platform code which attaches properties after probe() has run to apply
these new properties.

Note this also moves the time when we apply these properties for DT
platforms from i2c-probe to snd-component-probe time, this should not
result in any functional difference.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5651.c
sound/soc/codecs/rt5651.h