From: Vinod Koul <vinod.koul@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Jeeja Kp <jeeja.kp@intel.com>,
alsa-devel@alsa-project.org,
Subhransu S Prusty <subhransu.s.prusty@intel.com>,
Liam Girdwood <liam.r.girdwood@intel.com>
Subject: Re: [PATCH 0/6] HD-audio modalias support patchset
Date: Tue, 20 Oct 2015 11:46:40 +0530 [thread overview]
Message-ID: <20151020061640.GA27370@localhost> (raw)
In-Reply-To: <20151018151154.GQ27370@localhost>
On Sun, Oct 18, 2015 at 08:41:54PM +0530, Vinod Koul wrote:
> On Fri, Oct 16, 2015 at 06:20:52PM +0200, Takashi Iwai wrote:
> > Hi,
> >
> > this is a patchset to add the support of automatic modalias creation
> > for HD-audio codec drivers like other standard drivers. Currently,
> > the HDA codec driver has put module alias manually due to ugly
> > historical reasons. This patch finally moves to the saner way.
> >
> > Also it adds the udev modalias support so that it can be autoloaded in
> > udev.
> >
> > The patchset was initiated by Intel people for SKL ASoC drivers. Now
> > I brushed up and made it working for legacy drivers.
> >
> > The current patchset is found in topic/hda-modalias branch of sound
> > git tree, too.
>
> Thanks for posting this,
>
> This series looks great to me. Me and Subhransu will test it out in next day
> or so and will get back with results on ASoC side :)
Hi Takashi,
For the whole series
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Subhransu S Prusty <subhransu.s.prusty@intel.com>
Also please apply below patch which adds HDA_CODEC_EXT_ENTRY. We have tested
HDMI patches with this
-----------------><8----------------><8----------------
>From 79f4fb6600810103737939c186f928c74ed058fe Mon Sep 17 00:00:00 2001
From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
Date: Mon, 19 Oct 2015 16:58:46 +0530
Subject: [PATCH] ALSA: hdac: Add macro for hda ext devices entry
With the new modalias infrastructure support added for hda, create a macro
for ext devices similar to legacy to add the device entry.
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
include/sound/hdaudio_ext.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h
index 719edff2a77b..425af0674557 100644
--- a/include/sound/hdaudio_ext.h
+++ b/include/sound/hdaudio_ext.h
@@ -40,6 +40,13 @@ void snd_hdac_ext_bus_device_remove(struct hdac_ext_bus *ebus);
#define hbus_to_ebus(_bus) \
container_of(_bus, struct hdac_ext_bus, bus)
+#define HDA_CODEC_REV_EXT_ENTRY(_vid, _rev, _name, drv_data) \
+ { .vendor_id = (_vid), .rev_id = (_rev), .name = (_name), \
+ .api_version = HDA_DEV_ASOC, \
+ .driver_data = (unsigned long)(drv_data) }
+#define HDA_CODEC_EXT_ENTRY(_vid, _revid, _name, _drv_data) \
+ HDA_CODEC_REV_EXT_ENTRY(_vid, _revid, _name, _drv_data)
+
int snd_hdac_ext_bus_parse_capabilities(struct hdac_ext_bus *sbus);
void snd_hdac_ext_bus_ppcap_enable(struct hdac_ext_bus *chip, bool enable);
void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_ext_bus *chip, bool enable);
--
~Vinod
next prev parent reply other threads:[~2015-10-20 6:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-16 16:20 [PATCH 0/6] HD-audio modalias support patchset Takashi Iwai
2015-10-16 16:20 ` [PATCH 1/6] ALSA: hda - Add api_version to hda_device_id struct Takashi Iwai
2015-10-16 16:20 ` [PATCH 2/6] ALSA: hda - Add hduadio support to DEVTABLE Takashi Iwai
2015-10-16 16:20 ` [PATCH 3/6] ALSA: hda - Add a common helper to give the codec modalias string Takashi Iwai
2015-10-16 16:20 ` [PATCH 4/6] ALSA: hda - Add hdaudio bus modalias support Takashi Iwai
2015-10-16 16:20 ` [PATCH 5/6] ALSA: hda - convert to hda_device_id Takashi Iwai
2015-10-16 16:20 ` [PATCH 6/6] ALSA: hda - Advertise MODALIAS in uevent Takashi Iwai
2015-10-18 15:11 ` [PATCH 0/6] HD-audio modalias support patchset Vinod Koul
2015-10-20 6:16 ` Vinod Koul [this message]
2015-10-20 9:02 ` Takashi Iwai
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=20151020061640.GA27370@localhost \
--to=vinod.koul@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=jeeja.kp@intel.com \
--cc=liam.r.girdwood@intel.com \
--cc=subhransu.s.prusty@intel.com \
--cc=tiwai@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox