summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2013-11-14 12:03:53 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-14 22:20:45 (GMT)
commite13ac47bec20797fa9262cffcae9cf0e3aa1b9b2 (patch)
treeb783af9c4f87415ac9a264357da4875146d8fd00 /drivers/regulator
parent70762abb9f89d97603a04cc3438988ca0cf886eb (diff)
downloadlinux-fsl-qoriq-e13ac47bec20797fa9262cffcae9cf0e3aa1b9b2.tar.xz
spi: Use stable dev_name for ACPI enumerated SPI slaves
Current spi bus_num.chip_select "spix.y" based device naming scheme may not be stable enough to be used in name based matching, for instance within ALSA SoC subsystem. This can be problem in PC kind of platforms if there are changes in SPI bus configuration, amount of busses or probe order. This patch addresses the problem by using the ACPI device name with "spi-" prefix for ACPI enumerated SPI slave. For them device name "spix.y" becomes "spi-INTABCD:ij". Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Acked-by: Mark Brown <broonie@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions