]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Combine adjacent indicator updates
authorDenis Efremov <efremov@linux.com>
Tue, 3 Sep 2019 11:10:19 +0000 (14:10 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Sep 2019 20:43:33 +0000 (15:43 -0500)
commitd150b84eb29579c22db3fc7a279b19e39fc17391
tree73ab105c3e5894f6b6f497f8010d2a17cf41c9ac
parent565e3061750164c6a3fa42c2fad77c034792e2ce
PCI: pciehp: Combine adjacent indicator updates

Combine adjacent updates of power and attention indicators into a single
pciehp_set_indicators() call.  This sends one command to the hotplug
controller instead of two.

Link: https://lore.kernel.org/r/20190903111021.1559-3-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c