[PATCH] phy: qualcomm: m31-eusb2: Add runtime pm ops
kernel test robot
lkp at intel.com
Mon Oct 27 15:17:09 PDT 2025
Hi Prashanth,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.18-rc3 next-20251027]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Prashanth-K/phy-qualcomm-m31-eusb2-Add-runtime-pm-ops/20251027-142647
base: linus/master
patch link: https://lore.kernel.org/r/20251027062458.1411096-1-prashanth.k%40oss.qualcomm.com
patch subject: [PATCH] phy: qualcomm: m31-eusb2: Add runtime pm ops
config: sh-randconfig-002-20251028 (https://download.01.org/0day-ci/archive/20251028/202510280637.c18uAF98-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251028/202510280637.c18uAF98-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510280637.c18uAF98-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/phy/qualcomm/phy-qcom-m31-eusb2.c:253:12: warning: 'm31eusb2_phy_runtime_resume' defined but not used [-Wunused-function]
253 | static int m31eusb2_phy_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/phy/qualcomm/phy-qcom-m31-eusb2.c:243:12: warning: 'm31eusb2_phy_runtime_suspend' defined but not used [-Wunused-function]
243 | static int m31eusb2_phy_runtime_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/m31eusb2_phy_runtime_resume +253 drivers/phy/qualcomm/phy-qcom-m31-eusb2.c
242
> 243 static int m31eusb2_phy_runtime_suspend(struct device *dev)
244 {
245 struct m31eusb2_phy *phy = dev_get_drvdata(dev);
246
247 dev_dbg(dev, "Suspending M31 eUSB2 Phy\n");
248 clk_disable_unprepare(phy->clk);
249
250 return 0;
251 }
252
> 253 static int m31eusb2_phy_runtime_resume(struct device *dev)
254 {
255 struct m31eusb2_phy *phy = dev_get_drvdata(dev);
256 int ret = 0;
257
258 dev_dbg(dev, "Resuming M31 eUSB2 Phy\n");
259 ret = clk_prepare_enable(phy->clk);
260 if (ret)
261 dev_err(dev, "failed to enable ref clock, %d\n", ret);
262
263 return ret;
264 }
265
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-phy
mailing list