]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b3a67134002c9ab6da458ca4831c3aad2d04a57
treea4bac43171d79e9f99e358509535112dc47dce4d
parentbf62837a7c68d370362c88b982627e789e5d9429
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