summaryrefslogtreecommitdiffstats
path: root/drivers/pci/ioapic.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2013-12-06 01:34:25 +0100
committerJiri Kosina <jkosina@suse.cz>2013-12-09 15:46:09 +0100
commitd81cae806af428898f63391b5d7cd7ba0d87025d (patch)
tree830572d6d447f8780c58945263686e1cee63e068 /drivers/pci/ioapic.c
parentHID: kye: Fix missing break in kye_report_fixup() (diff)
downloadlinux-d81cae806af428898f63391b5d7cd7ba0d87025d.tar.xz
linux-d81cae806af428898f63391b5d7cd7ba0d87025d.zip
HID: hid-sensor-hub: fix duplicate sysfs entry error
Fix kernel warning and failure to register sensor hub devices with MFD. Now many devices has in-built sensor hubs. So by default this HID hub, is properly parsed and register individual sensors as platform device using MFD framework. But if a second sensor hub is attached via USB, which has same sensors, it will result in kernel warning and failure to register MFD cell as the platform device sysfs file name will be same as created by in-built sensor hubs. This patch sets MFD cell id to PLATFORM_DEVID_AUTO. In this way there will never be duplicate sysfs file names. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/pci/ioapic.c')
0 files changed, 0 insertions, 0 deletions