Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1300733

Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe
Date 2016-01-04 13:50 +0100
Message-ID <qNcKd-3wM-3@gated-at.bofh.it> (permalink)
References <qNcqT-3qh-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Javier,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.4-rc8 next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/tvp5150-add-MC-and-DT-support/20160104-203224
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x008-01040711 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/media/i2c/tvp5150.c: In function 'tvp5150_init':
>> drivers/media/i2c/tvp5150.c:1206:13: error: implicit declaration of function 'devm_gpiod_get_optional' [-Werror=implicit-function-declaration]
     pdn_gpio = devm_gpiod_get_optional(&c->dev, "powerdown", GPIOD_OUT_HIGH);
                ^
>> drivers/media/i2c/tvp5150.c:1206:59: error: 'GPIOD_OUT_HIGH' undeclared (first use in this function)
     pdn_gpio = devm_gpiod_get_optional(&c->dev, "powerdown", GPIOD_OUT_HIGH);
                                                              ^
   drivers/media/i2c/tvp5150.c:1206:59: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/media/i2c/tvp5150.c:1211:3: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
      gpiod_set_value_cansleep(pdn_gpio, 0);
      ^
   cc1: some warnings being treated as errors

vim +/devm_gpiod_get_optional +1206 drivers/media/i2c/tvp5150.c

  1200	
  1201	static inline int tvp5150_init(struct i2c_client *c)
  1202	{
  1203		struct gpio_desc *pdn_gpio;
  1204		struct gpio_desc *reset_gpio;
  1205	
> 1206		pdn_gpio = devm_gpiod_get_optional(&c->dev, "powerdown", GPIOD_OUT_HIGH);
  1207		if (IS_ERR(pdn_gpio))
  1208			return PTR_ERR(pdn_gpio);
  1209	
  1210		if (pdn_gpio) {
> 1211			gpiod_set_value_cansleep(pdn_gpio, 0);
  1212			/* Delay time between power supplies active and reset */
  1213			msleep(20);
  1214		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/10] [media] tvp5150: add MC and DT support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-04 13:30 +0100
  [PATCH 02/10] [media] tvp5150: Add tvp5151 support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-04 13:30 +0100
  [PATCH 09/10] [media] tvp5150: Initialize the chip on probe Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-04 13:30 +0100
    Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe kbuild test robot <lkp@intel.com> - 2016-01-04 13:50 +0100
      Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-04 14:00 +0100
    Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-01-06 12:10 +0100
      Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-06 12:40 +0100
  [PATCH 05/10] [media] tvp5150: Add s_stream subdev operation support Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-04 13:30 +0100
  [PATCH 03/10] [media] tvp5150: Add pad-level subdev operations Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-04 13:30 +0100

csiph-web