All of lore.kernel.org
 help / color / mirror / Atom feed
* [krzk-github:wip/eliza-integration-display-on-early-hwe 9/29] drivers/gpu/drm/bridge/lontium-lt9611c.c:1296:12: warning: 'lt9611c_bridge_resume' defined but not used
@ 2026-10-15 14:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-15 14:39 UTC (permalink / raw)
  To: Sunyun Yang; +Cc: oe-kbuild-all, Krzysztof Kozlowski, Mohit Dsor

tree:   https://github.com/krzk/linux wip/eliza-integration-display-on-early-hwe
head:   bc8619ef46818e58ca3d967ab1c52ad66162306a
commit: 8ba7bfc43e9529afe137a37928f4144a6613ad2a [9/29] drm/bridge: Add Lontium LT9611C(EX/UXD) MIPI DSI to HDMI driver
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20261015/202610152248.OJBcyThs-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261015/202610152248.OJBcyThs-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/oe-kbuild-all/202610152248.OJBcyThs-lkp@intel.com/

All warnings (new ones prefixed by >>):

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


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

  1273	
> 1274	static int lt9611c_bridge_suspend(struct device *dev)
  1275	{
  1276		struct lt9611c *lt9611c = dev_get_drvdata(dev);
  1277		int ret;
  1278	
  1279		disable_irq(lt9611c->client->irq);
  1280		cancel_work_sync(&lt9611c->work);
  1281	
  1282		gpiod_set_value_cansleep(lt9611c->reset_gpio, 1);
  1283	
  1284		ret = regulator_bulk_disable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
  1285		if (ret) {
  1286			dev_err(lt9611c->dev, "regulator bulk disable failed.\n");
  1287			gpiod_set_value_cansleep(lt9611c->reset_gpio, 0);
  1288			msleep(400);
  1289			enable_irq(lt9611c->client->irq);
  1290			return ret;
  1291		}
  1292	
  1293		return 0;
  1294	}
  1295	
> 1296	static int lt9611c_bridge_resume(struct device *dev)
  1297	{
  1298		struct lt9611c *lt9611c = dev_get_drvdata(dev);
  1299		int ret;
  1300	
  1301		ret = regulator_bulk_enable(ARRAY_SIZE(lt9611c->supplies), lt9611c->supplies);
  1302		if (ret) {
  1303			dev_err(lt9611c->dev, "regulator bulk enable failed.\n");
  1304			return ret;
  1305		}
  1306		lt9611c_reset(lt9611c);
  1307		enable_irq(lt9611c->client->irq);
  1308	
  1309		return ret;
  1310	}
  1311	

--
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-10-15 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15 14:39 [krzk-github:wip/eliza-integration-display-on-early-hwe 9/29] drivers/gpu/drm/bridge/lontium-lt9611c.c:1296: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.