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


Groups > linux.kernel > #1512649 > unrolled thread

Re: [PATCH][resend] drm: bridge: add DesignWare HDMI I2S audio support

Started byRussell King - ARM Linux <linux@armlinux.org.uk>
First post2016-10-31 17:10 +0100
Last post2016-11-01 10:40 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH][resend] drm: bridge: add DesignWare HDMI I2S audio  support Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-10-31 17:10 +0100
    Re: [PATCH][resend] drm: bridge: add DesignWare HDMI I2S audio  support Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-11-01 10:40 +0100

#1512649 — Re: [PATCH][resend] drm: bridge: add DesignWare HDMI I2S audio support

FromRussell King - ARM Linux <linux@armlinux.org.uk>
Date2016-10-31 17:10 +0100
SubjectRe: [PATCH][resend] drm: bridge: add DesignWare HDMI I2S audio support
Message-ID<synjQ-4H2-11@gated-at.bofh.it>
On Fri, Oct 28, 2016 at 01:22:21AM +0000, Kuninori Morimoto wrote:
> +static struct platform_driver snd_dw_hdmi_driver = {
> +	.probe	= snd_dw_hdmi_probe,

The driver must have a .remove function, because the platform device it
is binding against can appear and disappear.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

[toc] | [next] | [standalone]


#1513178

FromRussell King - ARM Linux <linux@armlinux.org.uk>
Date2016-11-01 10:40 +0100
Message-ID<syDHX-6Qz-1@gated-at.bofh.it>
In reply to#1512649
On Tue, Nov 01, 2016 at 12:36:29AM +0000, Kuninori Morimoto wrote:
> 
> Hi Russell again
> 
> > > > +static struct platform_driver snd_dw_hdmi_driver = {
> > > > +	.probe	= snd_dw_hdmi_probe,
> > > 
> > > The driver must have a .remove function, because the platform device it
> > > is binding against can appear and disappear.
> > 
> > Thank you for your feedback
> > OK, I will add it
> 
> This driver uses platform_device_register_full() and calls hdmi-codec
> driver. This driver itself doesn't register sound card, like dw-hdmi-ahb-audio.c
> Then, what does .remove should do in this case ?

Remove the platform device that was created by
platform_device_register_full().

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web