All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
Cc: "Kuninori Morimoto" <kuninori.morimoto.gx@renesas.com>,
	duclm <lm-duc@jinso.co.jp>,
	wsa@sang-engineering.com, ryusuke.sakato.bx@renesas.com,
	magnus.damm@gmail.com, geert+renesas@glider.be,
	稲吉 <h-inayoshi@jinso.co.jp>,
	yoshihiro.shimoda.uh@renesas.com, nv-dung@jinso.co.jp,
	cm-hiep@jinso.co.jp,
	"'Xuan Truong Jinso'" <nx-truong@jinso.co.jp>,
	laurent.pinchart+renesas@ideasonboard.com,
	horms+renesas@verge.net.au, linux-renesas-soc@vger.kernel.org
Subject: Re: The failure summary report of GEN3 for linux stable v4.7
Date: Tue, 09 Aug 2016 11:16:25 +0300	[thread overview]
Message-ID: <1547042.76US3mHF9I@avalon> (raw)
In-Reply-To: <20160809070314.GB6864@bigcity.dyn.berto.se>

Hi Niklas,

On Tuesday 09 Aug 2016 09:03:14 Niklas S�derlund wrote:
> On 2016-08-09 06:01:48 +0000, Kuninori Morimoto wrote:
> > Hi duclm
> > 
> > > root@linaro-nano:~# cd /sys/bus/platform/drivers/i2c-rcar; find -type l
> > > ./e6510000.i2c
> > > root@linaro-nano:/sys/bus/platform/drivers/i2c-rcar# echo e6510000.i2c >
> > > unbind [   30.505950] clk_unregister: unregistering prepared clock:
> > > clk_multiplier root@linaro-nano:/sys/bus/platform/drivers/i2c-rcar# ls
> > > -d e6510000.i2c ls: cannot access e6510000.i2c: No such file or
> > > directory
> > > root@linaro-nano:/sys/bus/platform/drivers/i2c-rcar# echo e6510000.i2c >
> > > bind [   40.825298] cs2000-cp 2-004f: revision - C1
> > > [   40.829587] i2c-rcar e6510000.i2c: probed
> > > root@linaro-nano:/sys/bus/platform/drivers/i2c-rcar# ls -d e6510000.i2c
> > > e6510000.i2c
> > > root@linaro-nano:/sys/bus/platform/drivers/i2c-rcar#
> > > root@linaro-nano:/sys/bus/platform/drivers/i2c-rcar# aplay
> > > /home/board-lager/FSI/data/test.wav> 
> > Thank you for your report.
> > This is open (and deep) issue (Oops after "unbind" -> "rebind")
> > We have similar issue on I2C / ALSA SoC / DMAEngine / V4L2 SoC etc...
> > and we should care about it, but it is still under discussion I think.
> > ALSA SoC had started to solve this issue, but it will take over 2 years
> 
> FWIW the VIN patches for Gen3 which are posted to ML solves the
> unbind/bind problem for the rcar-vin driver.

Given that the driver

- allocates struct rvin_dev structure with devm_kzalloc
- embeds struct video_device in rvin_dev
- sets video_device::release to video_device_release_empty

I have some doubts about this :-)

Could you try the following sequence ?

- Open the video device node and keep it open (yavta --sleep-forever)
- Unbind the VIN device from the driver
- Close the video device node

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2016-08-09  8:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <57A94A79.30304@jinso.co.jp>
2016-08-09  6:01 ` The failure summary report of GEN3 for linux stable v4.7 Kuninori Morimoto
2016-08-09  7:03   ` Niklas Söderlund
2016-08-09  8:16     ` Laurent Pinchart [this message]
2016-08-09  9:35       ` Niklas Söderlund

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=1547042.76US3mHF9I@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=cm-hiep@jinso.co.jp \
    --cc=geert+renesas@glider.be \
    --cc=h-inayoshi@jinso.co.jp \
    --cc=horms+renesas@verge.net.au \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=lm-duc@jinso.co.jp \
    --cc=magnus.damm@gmail.com \
    --cc=niklas.soderlund@ragnatech.se \
    --cc=nv-dung@jinso.co.jp \
    --cc=nx-truong@jinso.co.jp \
    --cc=ryusuke.sakato.bx@renesas.com \
    --cc=wsa@sang-engineering.com \
    --cc=yoshihiro.shimoda.uh@renesas.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.