All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/bridge/lontium-lt9611c.c:1226:12: warning: 'lt9611c_bridge_resume' defined but not used
@ 2026-09-03 23:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-03 23:30 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/mohit-dsor-oss-qualcomm-com/dt-bindings-bridge-Add-Lontium-LT9611C-EX-UXD-MIPI-DSI-to-HDMI-driver/20260903-005033, commit: 70199b1388b4c8e89d0c575b66fa30966d9c8e98"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Sunyun Yang <syyang@lontium.com>
CC: 0day robot <lkp@intel.com>
CC: Dmitry Baryshkov <lumag@kernel.org>
CC: Mohit Dsor <mohit.dsor@oss.qualcomm.com>

tree:   https://github.com/intel-lab-lkp/linux/commits/mohit-dsor-oss-qualcomm-com/dt-bindings-bridge-Add-Lontium-LT9611C-EX-UXD-MIPI-DSI-to-HDMI-driver/20260903-005033
head:   70199b1388b4c8e89d0c575b66fa30966d9c8e98
commit: 70199b1388b4c8e89d0c575b66fa30966d9c8e98 drm/bridge: Add Lontium LT9611C(EX/UXD) MIPI DSI to HDMI driver
date:   28 hours ago
:::::: branch date: 28 hours ago
:::::: commit date: 28 hours ago
config: sparc-randconfig-r061-20260904 (https://download.01.org/0day-ci/archive/20260904/202609040715.erXoWPUK-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260904/202609040715.erXoWPUK-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@intel.com>
| Closes: https://lore.kernel.org/r/202609040715.erXoWPUK-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/lontium-lt9611c.c:1226:12: warning: 'lt9611c_bridge_resume' defined but not used [-Wunused-function]
    1226 | static int lt9611c_bridge_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/bridge/lontium-lt9611c.c:1205:12: warning: 'lt9611c_bridge_suspend' defined but not used [-Wunused-function]
    1205 | static int lt9611c_bridge_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~


vim +/lt9611c_bridge_resume +1226 drivers/gpu/drm/bridge/lontium-lt9611c.c

70199b1388b4c8e Sunyun Yang 2026-09-03  1204  
70199b1388b4c8e Sunyun Yang 2026-09-03 @1205  static int lt9611c_bridge_suspend(struct device *dev)
70199b1388b4c8e Sunyun Yang 2026-09-03  1206  {
70199b1388b4c8e Sunyun Yang 2026-09-03  1207  	struct lt9611c *lt9611c = dev_get_drvdata(dev);
70199b1388b4c8e Sunyun Yang 2026-09-03  1208  	int ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1209  
70199b1388b4c8e Sunyun Yang 2026-09-03  1210  	disable_irq(lt9611c->client->irq);
70199b1388b4c8e Sunyun Yang 2026-09-03  1211  	cancel_work_sync(&lt9611c->work);
70199b1388b4c8e Sunyun Yang 2026-09-03  1212  
70199b1388b4c8e Sunyun Yang 2026-09-03  1213  	gpiod_set_value_cansleep(lt9611c->reset_gpio, 1);
70199b1388b4c8e Sunyun Yang 2026-09-03  1214  
70199b1388b4c8e Sunyun Yang 2026-09-03  1215  	ret = regulator_bulk_disable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
70199b1388b4c8e Sunyun Yang 2026-09-03  1216  	if (ret) {
70199b1388b4c8e Sunyun Yang 2026-09-03  1217  		dev_err(lt9611c->dev, "regulator bulk disable failed.\n");
70199b1388b4c8e Sunyun Yang 2026-09-03  1218  		gpiod_set_value_cansleep(lt9611c->reset_gpio, 0);
70199b1388b4c8e Sunyun Yang 2026-09-03  1219  		enable_irq(lt9611c->client->irq);
70199b1388b4c8e Sunyun Yang 2026-09-03  1220  		return ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1221  	}
70199b1388b4c8e Sunyun Yang 2026-09-03  1222  
70199b1388b4c8e Sunyun Yang 2026-09-03  1223  	return 0;
70199b1388b4c8e Sunyun Yang 2026-09-03  1224  }
70199b1388b4c8e Sunyun Yang 2026-09-03  1225  
70199b1388b4c8e Sunyun Yang 2026-09-03 @1226  static int lt9611c_bridge_resume(struct device *dev)
70199b1388b4c8e Sunyun Yang 2026-09-03  1227  {
70199b1388b4c8e Sunyun Yang 2026-09-03  1228  	struct lt9611c *lt9611c = dev_get_drvdata(dev);
70199b1388b4c8e Sunyun Yang 2026-09-03  1229  	int ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1230  
70199b1388b4c8e Sunyun Yang 2026-09-03  1231  	ret = regulator_bulk_enable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
70199b1388b4c8e Sunyun Yang 2026-09-03  1232  	if (ret) {
70199b1388b4c8e Sunyun Yang 2026-09-03  1233  		dev_err(lt9611c->dev, "regulator bulk enable failed.\n");
70199b1388b4c8e Sunyun Yang 2026-09-03  1234  		return ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1235  	}
70199b1388b4c8e Sunyun Yang 2026-09-03  1236  	lt9611c_reset(lt9611c);
70199b1388b4c8e Sunyun Yang 2026-09-03  1237  	enable_irq(lt9611c->client->irq);
70199b1388b4c8e Sunyun Yang 2026-09-03  1238  
70199b1388b4c8e Sunyun Yang 2026-09-03  1239  	return ret;
70199b1388b4c8e Sunyun Yang 2026-09-03  1240  }
70199b1388b4c8e Sunyun Yang 2026-09-03  1241  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-03 23:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03 23:30 drivers/gpu/drm/bridge/lontium-lt9611c.c:1226:12: warning: 'lt9611c_bridge_resume' defined but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.