pci.c (5b7c4cabbb65f5c469464da6c5f614cbd7f730f2) | pci.c (7c15430822e71e90203d87e6d0cfe83fa058b0dc) |
---|---|
1// SPDX-License-Identifier: BSD-3-Clause-Clear 2/* 3 * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. All rights reserved. 5 */ 6 7#include <linux/module.h> 8#include <linux/msi.h> --- 967 unchanged lines hidden (view full) --- 976 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot skipping pci suspend as qmi is not initialised\n"); 977 return 0; 978 } 979 980 ret = ath11k_core_suspend(ab); 981 if (ret) 982 ath11k_warn(ab, "failed to suspend core: %d\n", ret); 983 | 1// SPDX-License-Identifier: BSD-3-Clause-Clear 2/* 3 * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. All rights reserved. 5 */ 6 7#include <linux/module.h> 8#include <linux/msi.h> --- 967 unchanged lines hidden (view full) --- 976 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot skipping pci suspend as qmi is not initialised\n"); 977 return 0; 978 } 979 980 ret = ath11k_core_suspend(ab); 981 if (ret) 982 ath11k_warn(ab, "failed to suspend core: %d\n", ret); 983 |
984 return ret; | 984 return 0; |
985} 986 987static __maybe_unused int ath11k_pci_pm_resume(struct device *dev) 988{ 989 struct ath11k_base *ab = dev_get_drvdata(dev); 990 int ret; 991 992 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { --- 53 unchanged lines hidden --- | 985} 986 987static __maybe_unused int ath11k_pci_pm_resume(struct device *dev) 988{ 989 struct ath11k_base *ab = dev_get_drvdata(dev); 990 int ret; 991 992 if (test_bit(ATH11K_FLAG_QMI_FAIL, &ab->dev_flags)) { --- 53 unchanged lines hidden --- |