diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-16 22:04:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-16 22:05:45 +0300 |
commit | a59aa180ea56004a8dd6ece93699adf5eacdf4d9 (patch) | |
tree | fbe7984188ddf909512a08200031734608ab8127 /sound/spi | |
parent | e236d4d796f87d062f59af8004c8f485baf10b62 (diff) | |
download | linux-a59aa180ea56004a8dd6ece93699adf5eacdf4d9.tar.xz |
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 'sound/spi')
0 files changed, 0 insertions, 0 deletions