android_kernel_xiaomi_sm8350/drivers/i2c/busses
Octavian Purdila 52c2843322 i2c-designware: Fix PCI core warning on suspend/resume
PCI core warns if the legacy PM and new PM functions are
present. Update the driver to only use the new power management
framework.

This patch fixes the following warning seen during suspend/resume:

<7>[   24.193850] i2c-designware-pci 0000:08:13.0: suspend
<4>[   24.193866] ------------[ cut here ]------------
<4>[   24.193892] WARNING: at drivers/pci/pci-driver.c:605 pci_has_legacy_pm_support+0x48/0x4d()
<4>[   24.193925] Hardware name: OakTrail
<4>[   24.193936] Modules linked in:
<4>[   24.193958] Pid: 2834, comm: kworker/u:22 Tainted: G        W   2.6.36greenridge-01402-gc8047e6 #171
<4>[   24.193974] Call Trace:
<4>[   24.193999]  [<c1033a93>] warn_slowpath_common+0x66/0xc2
<4>[   24.194025]  [<c1164143>] ? pci_has_legacy_pm_support+0x48/0x4d
<4>[   24.194052]  [<c1033afe>] warn_slowpath_null+0xf/0x13
<4>[   24.194079]  [<c1164143>] pci_has_legacy_pm_support+0x48/0x4d
<4>[   24.194106]  [<c11643ff>] pci_pm_suspend+0x22/0x154
<4>[   24.194131]  [<c11643dd>] ? pci_pm_suspend+0x0/0x154
<4>[   24.194156]  [<c11e8a7a>] pm_op+0x3e/0x95
<4>[   24.194182]  [<c11e931d>] __device_suspend+0x12e/0x194
<4>[   24.194208]  [<c11e974d>] ? dpm_drv_timeout+0x0/0x47
<4>[   24.194237]  [<c11e9729>] async_suspend+0x16/0x3a
<4>[   24.194265]  [<c104de8e>] async_run_entry_fn+0x97/0x135
<4>[   24.194291]  [<c1043c34>] process_one_work+0x1c9/0x2db

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2011-10-29 11:03:53 +01:00
..
i2c-acorn.c
i2c-ali15x3.c
i2c-ali1535.c i2c-ali1535: Fix style issues 2011-07-25 17:49:42 +02:00
i2c-ali1563.c
i2c-amd756-s4882.c
i2c-amd756.c
i2c-amd8111.c
i2c-at91.c
i2c-au1550.c
i2c-bfin-twi.c
i2c-cpm.c i2c: Allow i2c_add_numbered_adapter() to assign a bus id 2011-07-25 17:49:43 +02:00
i2c-davinci.c
i2c-designware-core.c i2c-designware: Add runtime power management support 2011-10-29 11:03:53 +01:00
i2c-designware-core.h i2c-designware: Add runtime power management support 2011-10-29 11:03:53 +01:00
i2c-designware-pcidrv.c i2c-designware: Fix PCI core warning on suspend/resume 2011-10-29 11:03:53 +01:00
i2c-designware-platdrv.c i2c-designware: Push all register reads/writes into the core code. 2011-10-29 11:03:51 +01:00
i2c-diolan-u2c.c
i2c-eg20t.c i2c-eg20t : Fix the issue of Combined R/W transfer mode 2011-07-27 00:02:28 +01:00
i2c-elektor.c
i2c-gpio.c
i2c-highlander.c
i2c-hydra.c
i2c-i801.c
i2c-ibm_iic.c
i2c-ibm_iic.h
i2c-imx.c
i2c-intel-mid.c
i2c-iop3xx.c
i2c-iop3xx.h
i2c-isch.c
i2c-ixp2000.c ARM: 7043/1: mach-ixp2000: rename GPIO header 2011-08-22 09:13:21 +01:00
i2c-mpc.c
i2c-mv64xxx.c
i2c-mxs.c
i2c-nforce2-s4985.c
i2c-nforce2.c
i2c-nomadik.c i2c-nomadik: fix kerneldoc warning 2011-08-24 23:28:49 +01:00
i2c-nuc900.c
i2c-ocores.c
i2c-octeon.c
i2c-omap.c Revert "i2c-omap: fix static suspend vs. runtime suspend" 2011-08-23 20:19:16 +01:00
i2c-parport-light.c
i2c-parport.c
i2c-parport.h
i2c-pasemi.c
i2c-pca-isa.c
i2c-pca-platform.c
i2c-piix4.c
i2c-pmcmsp.c
i2c-pnx.c
i2c-powermac.c
i2c-puv3.c
i2c-pxa-pci.c i2c-pxa2xx: return proper error code in ce4100_i2c_probe error paths 2011-09-07 00:09:12 +01:00
i2c-pxa.c i2c: Allow i2c_add_numbered_adapter() to assign a bus id 2011-07-25 17:49:43 +02:00
i2c-s3c2410.c
i2c-s6000.c i2c: Allow i2c_add_numbered_adapter() to assign a bus id 2011-07-25 17:49:43 +02:00
i2c-s6000.h
i2c-scmi.c
i2c-sh7760.c
i2c-sh_mobile.c
i2c-sibyte.c
i2c-simtec.c
i2c-sis96x.c
i2c-sis630.c
i2c-sis5595.c
i2c-stu300.c
i2c-stub.c
i2c-taos-evm.c i2c-taos-evm: Fix log messages 2011-06-29 11:36:10 +02:00
i2c-tegra.c i2c-tegra: fix possible race condition after tx 2011-09-07 00:13:40 +01:00
i2c-tiny-usb.c
i2c-versatile.c
i2c-via.c
i2c-viapro.c
i2c-xiic.c
Kconfig i2c-designware: Add support for Designware core behind PCI devices. 2011-10-29 11:03:52 +01:00
Makefile i2c-designware: Add support for Designware core behind PCI devices. 2011-10-29 11:03:52 +01:00
scx200_acb.c
scx200_i2c.c