diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-16 20:04:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-16 20:05:45 +0100 |
commit | a59aa180ea56004a8dd6ece93699adf5eacdf4d9 (patch) | |
tree | fbe7984188ddf909512a08200031734608ab8127 /lib/klist.c | |
parent | ASoC: smdk_wm8580: Pass card DAPM context to snd_soc_dapm_disable_pin() (diff) | |
download | linux-a59aa180ea56004a8dd6ece93699adf5eacdf4d9.tar.xz linux-a59aa180ea56004a8dd6ece93699adf5eacdf4d9.zip |
ASoC: samsung: Replace depends on REGMAP_I2C with depends on I2C
regmap is a library function that gets selected by drivers that need it. No
driver modules should depend on it, since this can create dependency loops.
E.g. if machine driver depends on REGMAP_I2C and selects the CODEC driver
and the CODEC driver selects REGMAP_I2C, then the machine driver selects by
extension one of its dependencies.
The proper way to handle this is for machine drivers to depend on the same
dependencies as the CODEC driver they select. In this case it is I2C.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions