Re: [PATCH] usb: typec: ucsi: ucsi_glink: Prevent suspend during UCSI notification handling
From: kernel test robot
Date: Fri Jul 10 2026 - 13:17:59 EST
Hi Jishnu,
kernel test robot noticed the following build errors:
[auto build test ERROR on 2cb6eac064c8334418a76999468f68696a8dfe71]
url: https://github.com/intel-lab-lkp/linux/commits/Jishnu-Prakash/usb-typec-ucsi-ucsi_glink-Prevent-suspend-during-UCSI-notification-handling/20260710-182232
base: 2cb6eac064c8334418a76999468f68696a8dfe71
patch link: https://lore.kernel.org/r/20260710-ucsi_glink_wakeup-v1-1-7d97ea628d92%40oss.qualcomm.com
patch subject: [PATCH] usb: typec: ucsi: ucsi_glink: Prevent suspend during UCSI notification handling
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260711/202607110115.YSVz17MH-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/202607110115.YSVz17MH-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607110115.YSVz17MH-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/usb/typec/ucsi/ucsi_glink.c: In function 'pmic_glink_ucsi_callback':
>> drivers/usb/typec/ucsi/ucsi_glink.c:352:53: error: 'struct dev_pm_info' has no member named 'wakeup'; did you mean 'can_wakeup'?
352 | pm_wakeup_ws_event(ucsi->dev->power.wakeup,
| ^~~~~~
| can_wakeup
vim +352 drivers/usb/typec/ucsi/ucsi_glink.c
338
339 static void pmic_glink_ucsi_callback(const void *data, size_t len, void *priv)
340 {
341 struct pmic_glink_ucsi *ucsi = priv;
342 const struct pmic_glink_hdr *hdr = data;
343
344 switch (le32_to_cpu(hdr->opcode)) {
345 case UC_UCSI_READ_BUF_REQ:
346 pmic_glink_ucsi_read_ack(ucsi, data, len);
347 break;
348 case UC_UCSI_WRITE_BUF_REQ:
349 pmic_glink_ucsi_write_ack(ucsi, data, len);
350 break;
351 case UC_UCSI_USBC_NOTIFY_IND:
> 352 pm_wakeup_ws_event(ucsi->dev->power.wakeup,
353 UCSI_GLINK_WAKEUP_TIMEOUT_MS, true);
354 schedule_work(&ucsi->notify_work);
355 break;
356 }
357 }
358
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki