• Bjorn Helgaas's avatar
    media: ipu-cio2: Remove unnecessary runtime PM power state setting · ca7329c6
    Bjorn Helgaas authored
    ipu-cio2 uses generic power management, and pci_pm_runtime_suspend() and
    pci_pm_runtime_resume() already take care of setting the PCI device power
    state, so the driver doesn't need to do it explicitly.
    
    Remove explicit setting to D3hot or D0 during runtime suspend and resume.
    
    Remove #defines that are no longer used.
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    Cc: Hyungwoo Yang <hyungwoo.yang@intel.com>
    Cc: Rajmohan Mani <rajmohan.mani@intel.com>
    Cc: Vijaykumar Ramya <ramya.vijaykumar@intel.com>
    Cc: Samu Onkalo <samu.onkalo@intel.com>
    Cc: Jouni Högander <jouni.hogander@intel.com>
    Cc: Jouni Ukkonen <jouni.ukkonen@intel.com>
    Cc: Antti Laakso <antti.laakso@intel.com>
    [Sakari Ailus: Remove now-redundant local variables.]
    Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    ca7329c6
ipu3-cio2.h 16.4 KB