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


Groups > linux.kernel > #1368346

Re: arm:collie_defconfig broken since commit ff2b135922 ("gpio: make the gpiochip a real device")

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject Re: arm:collie_defconfig broken since commit ff2b135922 ("gpio: make the gpiochip a real device")
Date 2016-03-31 16:20 +0200
Message-ID <riLC3-6ib-37@gated-at.bofh.it> (permalink)
References <rhxB7-2k9-1@gated-at.bofh.it> <riKPE-5Ha-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 31, 2016 at 03:26:49PM +0200, Linus Walleij wrote:
> On Mon, Mar 28, 2016 at 7:03 AM, Guenter Roeck <linux@roeck-us.net> wrote:
> 
> > arm:collie_defconfig is broken since commit ff2b135922 ("gpio: make the
> > gpiochip a real device").
> 
> Oh I was worried that something like this would happen, but
> hoped we could find it in linux-next, oh well.
> 
I didn't have collie_defconfig in my list of qemu tests since last weekend.
Shows that qemu boot tests _are_ valuable ;-).

Question is how to get to a real solution. I tried calling gpiolib_dev_init()
from gpiochip_add_data() if gpiolib was not initialized yet, but at least for
collie this doesn't work, presumably since gpiochip_add_data() is called too
early. I am currently looking into deferring device initialization from
gpiochip_add_data() until gpiolib_dev_init() was called, as suggested by
Alexandre.

Guenter

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


Thread

arm:collie_defconfig broken since commit ff2b135922 ("gpio: make the  gpiochip a real device") Guenter Roeck <linux@roeck-us.net> - 2016-03-28 07:10 +0200
  Re: arm:collie_defconfig broken since commit ff2b135922 ("gpio: make  the gpiochip a real device") Guenter Roeck <linux@roeck-us.net> - 2016-03-28 21:40 +0200
  Re: arm:collie_defconfig broken since commit ff2b135922 ("gpio: make  the gpiochip a real device") Linus Walleij <linus.walleij@linaro.org> - 2016-03-31 15:30 +0200
    Re: arm:collie_defconfig broken since commit ff2b135922 ("gpio: make  the gpiochip a real device") Guenter Roeck <linux@roeck-us.net> - 2016-03-31 16:20 +0200

csiph-web