All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, vigneshr@ti.com, nm@ti.com,
	Jai Luthra <j-luthra@ti.com>
Subject: [ti:ti-rt-linux-6.1.y-cicd 335/382] drivers/media/platform/cadence/cdns-csi2rx.c:224:undefined reference to `phy_mipi_dphy_get_default_config_for_hsclk'
Date: Mon, 1 Apr 2024 02:08:03 +0800	[thread overview]
Message-ID: <202404010237.QdzcLEji-lkp@intel.com> (raw)

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-6.1.y-cicd
head:   01dbe4e64bacaa4c891c1997f2724c320698d61f
commit: abf5efa8c5ada91dc8d9c8adaa272e7792afaa17 [335/382] media: cadence: csi2rx: Support runtime PM
config: x86_64-randconfig-001-20240331 (https://download.01.org/0day-ci/archive/20240401/202404010237.QdzcLEji-lkp@intel.com/config)
compiler: gcc-11 (Ubuntu 11.4.0-4ubuntu1) 11.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240401/202404010237.QdzcLEji-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/202404010237.QdzcLEji-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: drivers/media/platform/cadence/cdns-csi2rx.o: in function `csi2rx_configure_external_dphy':
>> drivers/media/platform/cadence/cdns-csi2rx.c:224:(.text+0x1eb): undefined reference to `phy_mipi_dphy_get_default_config_for_hsclk'


vim +224 drivers/media/platform/cadence/cdns-csi2rx.c

1fc3b37f34f69e Maxime Ripard  2018-05-04  208  
f892c1ab1a9175 Pratyush Yadav 2023-04-20  209  static int csi2rx_configure_external_dphy(struct csi2rx_priv *csi2rx)
f892c1ab1a9175 Pratyush Yadav 2023-04-20  210  {
f892c1ab1a9175 Pratyush Yadav 2023-04-20  211  	union phy_configure_opts opts = { };
f892c1ab1a9175 Pratyush Yadav 2023-04-20  212  	struct phy_configure_opts_mipi_dphy *cfg = &opts.mipi_dphy;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  213  	const struct csi2rx_fmt *fmt;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  214  	s64 link_freq;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  215  	int ret;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  216  
f892c1ab1a9175 Pratyush Yadav 2023-04-20  217  	fmt = csi2rx_get_fmt_by_code(csi2rx->fmt.code);
f892c1ab1a9175 Pratyush Yadav 2023-04-20  218  
f892c1ab1a9175 Pratyush Yadav 2023-04-20  219  	link_freq = v4l2_get_link_freq(csi2rx->source_subdev->ctrl_handler,
f892c1ab1a9175 Pratyush Yadav 2023-04-20  220  				       fmt->bpp, 2 * csi2rx->num_lanes);
f892c1ab1a9175 Pratyush Yadav 2023-04-20  221  	if (link_freq < 0)
f892c1ab1a9175 Pratyush Yadav 2023-04-20  222  		return link_freq;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  223  
f892c1ab1a9175 Pratyush Yadav 2023-04-20 @224  	ret = phy_mipi_dphy_get_default_config_for_hsclk(link_freq,
f892c1ab1a9175 Pratyush Yadav 2023-04-20  225  							 csi2rx->num_lanes, cfg);
f892c1ab1a9175 Pratyush Yadav 2023-04-20  226  	if (ret)
f892c1ab1a9175 Pratyush Yadav 2023-04-20  227  		return ret;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  228  
f892c1ab1a9175 Pratyush Yadav 2023-04-20  229  	ret = phy_power_on(csi2rx->dphy);
f892c1ab1a9175 Pratyush Yadav 2023-04-20  230  	if (ret)
f892c1ab1a9175 Pratyush Yadav 2023-04-20  231  		return ret;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  232  
f892c1ab1a9175 Pratyush Yadav 2023-04-20  233  	ret = phy_configure(csi2rx->dphy, &opts);
f892c1ab1a9175 Pratyush Yadav 2023-04-20  234  	if (ret)
f892c1ab1a9175 Pratyush Yadav 2023-04-20  235  		phy_power_off(csi2rx->dphy);
f892c1ab1a9175 Pratyush Yadav 2023-04-20  236  
f892c1ab1a9175 Pratyush Yadav 2023-04-20  237  	return ret;
f892c1ab1a9175 Pratyush Yadav 2023-04-20  238  }
f892c1ab1a9175 Pratyush Yadav 2023-04-20  239  

:::::: The code at line 224 was first introduced by commit
:::::: f892c1ab1a9175a9d59ecd6e62654014937e72a5 media: cadence: csi2rx: Add external DPHY support

:::::: TO: Pratyush Yadav <p.yadav@ti.com>
:::::: CC: Vignesh Raghavendra <vigneshr@ti.com>

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

             reply	other threads:[~2024-03-31 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-31 18:08 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-16 12:18 [ti:ti-rt-linux-6.1.y-cicd 335/382] drivers/media/platform/cadence/cdns-csi2rx.c:224: undefined reference to `phy_mipi_dphy_get_default_config_for_hsclk' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202404010237.QdzcLEji-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=j-luthra@ti.com \
    --cc=nm@ti.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.