]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: rt5645: remove unused field in pdata
authorBard Liao <bardliao@realtek.com>
Tue, 5 May 2015 13:42:01 +0000 (21:42 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 6 May 2015 17:49:20 +0000 (18:49 +0100)
commitac4fc3eeb79e06499779db99937522526e863ab6
tree82052a8ac946b62e29d8a7234e425993c6e5d0e1
parent786aa09b27be7916c1281d7a29a394bd1ae7a4dc
ASoC: rt5645: remove unused field in pdata

We can know if dmic is used by reading the value of dmic1_data_pin
and dmic2_data_pin. Also IRQ must be used if codec JD or button
detection function is used. So, dmic_en and en_jd_func can be remove
from platform data.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/rt5645.h
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.h