summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2014-06-20ASoC: tlv320aci3x: Fix custom snd_soc_dapm_put_volsw_aic3x() functionPeter Ujfalusi
[ Upstream commit e6c111fac4464e3f4bf7b3802b517dafc80f8e0f ] For some unknown reason the parameters for snd_soc_test_bits() were in wrong order: It was: snd_soc_test_bits(codec, val, mask, reg); /* WRONG!!! */ while it should be: snd_soc_test_bits(codec, reg, mask, val); Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-pcm: Move omap-pcm under include/soundJyri Sarha
[ Upstream commit 87c1936426d13d4f0dba29430c792e6d3562f2be ] Make including the omap-pcm.h outside sound/soc/omap more convenient. Signed-off-by: Jyri Sarha <jsarha@ti.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Support setting mclk via a fixed factorAndrew Lunn
[ Upstream commit 2942a0e285c46587a1025f12597df63ec04d08c6 ] Some platforms require that the codecs mclk is a fixed multiplication factor of the audio stream rate. Add a optional property to the binding to hold this factor and implement a hw_params() function to make use of it. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: is_top_level_node parameter to simple_card_dai_link_of()Jyri Sarha
[ Upstream commit 648722155dc081b019ab0ef548bbebde760a2b83 ] Restore correct parsing of dai-link subnodes with more explicit implementation for applying the "simple-audio-card,"-prefix to dai-link property and subnode names. Signed-off-by: Jyri Sarha <jsarha@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Improve coding styleNicolin Chen
[ Upstream commit 781cbebed750af26341e551b785048a1ea347c5e ] Improve indentation and space. Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Simplify error msg in simple_card_dai_link_of()Nicolin Chen
[ Upstream commit 966b8063607fbf43c8fdeef579fd8de8a35ca45d ] It would look better to use prop instead. Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Drop node->name checkingNicolin Chen
[ Upstream commit 50e6c718a1eb2ae6d05f22615d8268b026175a4a ] The current simple-card driver limits the DT node name to "sound". Any of other names is forbidden while actually we should allow DT to pass other node names. And if this function is being called, the node must already have the compatible "simple-audio-card" in DTB. So there should be no need to check the name here. Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Move dai-link level properties away from dai subnodesJyri Sarha
[ Upstream commit b3ca11ff59bc5842b01f13421a17e6d9a8936784 ] The properties like format, bitclock-master, frame-master, bitclock-inversion, and frame-inversion should be common to the dais connected with a dai-link. For bitclock-master and frame-master properties to be unambiguous they need to indicate the mastering dai node with a phandle. Signed-off-by: Jyri Sarha <jsarha@ti.com> Acked-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: core: Update snd_soc_of_parse_daifmt() interfaceJyri Sarha
[ Upstream commit 389cb8348cf5ac4a702c71bf13673c4c8bf01e34 ] Adds struct device_node **bitclkmaster and struct device_node **framemaster function parameters. With the new syntax bitclock-master and frame-master properties can explicitly indicate the dai-link bit-clock and frame masters with a phandle. This patch also makes the minimal changes to simple-card for it to work with the updated snd_soc_of_parse_daifmt(). Simple-card appears to be the only user of snd_soc_of_parse_daifmt() for now. Signed-off-by: Jyri Sarha <jsarha@ti.com> Acked-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Handle many DAI linksJean-Francois Moine
[ Upstream commit 6a91a17bd7b92b2d2aa9ece85457f52a62fd7708 ] Some simple audio cards may have many DAI links. This patch extends the simple-card driver for handling such cards. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: dynamically allocate the DAI link and propertiesJean-Francois Moine
[ Upstream commit cf7dc23cbfd5c4c5ab2136f19522d9b3b41acf99 ] The DAI link array and the properties (fmt, sysclk slots) are hard-coded for a single CPU / CODEC link. This patch dynamically allocates the DAI link array and the properties with the aim of supporting many DAI links. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: overwrite cpu_dai->fmt with codec_dai->fmtNicolin Chen
[ Upstream commit 46c39cae292fd691f32e573e6c2c854e36614c93 ] The current simple-card driver separates the daimft for cpu_dai and codec_dai. So we might get different values for them (0x4003 and 0x1003 for example): asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 132000000 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 asoc-simple-card sound-cs42888.12: cs42888 <-> 2024000.esai mapping ok This is not allowed at all as we need to keep the DAIFMT settings identical for both the ends of the link. Thus this patch fixes it by overwriting the cpu_dai->fmt with codec_dai->fmt since we defined the DAIFMT_MASTER basing on CODEC at the first place while the other bits are same. Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Simplify codeJean-Francois Moine
[ Upstream commit c56c4d74c6f96d0ff605d8948e127099cf5e6681 ] The global DAI format is used only in the function asoc_simple_card_parse_of(). So, move it from the private data to the stack. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Reviewed-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Fix the reference count of device nodesJean-Francois Moine
[ Upstream commit e512e001dafa54e5ac7244416e340750a4356b41 ] The reference count of some device nodes is not correctly reset at end of card probe. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: card name can be optionKuninori Morimoto
[ Upstream commit 12ffa6fc1958879a81b6af1624c1a2edd83ec04a ] snd_card.name is now option on DT case. non-DT case can follow same style, and it is understandable from platform point of view. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: tidyup cpu/codec dai_fmt settings for non-DTKuninori Morimoto
[ Upstream commit 81985bd63f6f1711035aa8d97caf2fb203250a95 ] 30d0341e7da0c012f64fb290dd1153360fb49a8d (ASoC: simple-card: simplify the daifmt code) simplify cpu/codec dai_fmt which consists from dai specific format + common format. But, it didn't care about non-DT case. This patch fixes it Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: cpu_dai_name creates confusion when DT caseKuninori Morimoto
[ Upstream commit f687d900d30a61dda38db2a99239f5284a86a309 ] Basically, soc_bind_dai_link() checks cpu_dai->dev->of_node and dai_link->cpu_of_node in DT case. But after that it will check cpu_dai->name and dai_link->cpu_dai_name too. On the other hand, snd_soc_dai :: name is created by fmt_single_name() or fmt_multiple_name(). There is no confusion if dai name is created by fmt_multiple_name(), since cpu_dai->name is same as dai_link->cpu_dai_name. but, if dai name is created by fmt_single_name(), CPU DAI never match. Thus, simple-card not set dai_link->cpu_dai_name if DT case to skip naming match on soc_bind_dai_link() Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: add slot information parsing supportsXiubo Li
[ Upstream commit 6ff62eedce4f7756b092d276165d8e11edab9f28 ] For some CPU/CODEC DAI devices the slot information maybe needed. This patch adds the slot information parsing for simple-card driver. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: core: add TDM slot parsing from DT supportsXiubo Li
[ Upstream commit 89c6785715592a6b082b3f9f28c27bb14b041c7d ] For some CPU/CODEC DAI devices the TDM slot infomation maybe needed. This patch adds the slot parsing from DT supports. TDM slot properties: dai-tdm-slot-num : Number of slots in use. dai-tdm-slot-width : Width in bits for each slot. For instance: dai-tdm-slot-num = <2>; dai-tdm-slot-width = <8>; And for each spcified driver, there could be one .of_xlate_tdm_slot_mask() to specify a explicit mapping of the channels and the slots. If it's absent the default snd_soc_of_xlate_tdm_slot_mask() will be used to generating the tx and rx masks. For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit for an active slot as default, and the default active bits are at the LSB of the masks. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: add off-codec widgets supports.Xiubo Li
[ Upstream commit 9d681f5bfc85515a7b4a4af09337ed5e74f39ad9 ] Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: Add snd_card's name parsing from DT node supportXiubo Li
[ Upstream commit 2772555b6c5ba79783c04ea6c60549530d737e2e ] If the DT is used and the CPU DAI device has only one DAI, the card name will be like : ALSA device list: 0: 40031000.sai-sgtl5000 And this name maybe a little ugly to some customers, so here the card name parsing from DT node is supported. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify the daifmt codeXiubo Li
[ Upstream commit 30d0341e7da0c012f64fb290dd1153360fb49a8d ] In the asoc_simple_card_parse_of() will parse the device node's CPU/CODEC DAI commone fmts, and then in asoc_simple_card_sub_parse_of() will parse the CPU/CODEC DAI's sub-node fmts, so we can combine the info->daifmt and info->set.fmt in asoc_simple_card_sub_parse_of() not while just before _set_fmt(). And this will be more easy to add new functions, such as supporting _set_tdm_slot(), etc. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: fix __asoc_simple_card_dai_initXiubo Li
[ Upstream commit 4763ebe226156db985fe75bfe930c4069d1f4207 ] If the CPU/CODEC DAI set_sysclk() is not support, the -ENOTSUPP will returnd. Here do the check like set_fmt(). Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit b367a3252b365fd545fc589a40cad3976e73d7d7 45fce59496cbabd46761e6980c05c82d94d08eaa ca65b492c7a265b220f763fd68bf87391213248f 520084729267ac8df1651ad2f118a1d4a631a10a 5ca8ba4180a6f629d51dba699b4a6428cc5eeba7 201a0eac7fe5e7a8fa33f0742304f885bc344d0d 2bee991460a838ee3c8064a6d880c4e7bc41717a 7722f830a45f7fbb8f2f7b23265793980bdf3397 ] Rename the pointer to the private data structure to 'priv' to avoid confusion with the platform data pointer. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit 45fce59496cbabd46761e6980c05c82d94d08eaa ] The platform data structure contains information which is used only by the driver, and the driver allocates platform information fields which are of no use. Move the driver specific data to a new private structure and cleanup the platform data structure. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit b367a3252b365fd545fc589a40cad3976e73d7d7 45fce59496cbabd46761e6980c05c82d94d08eaa ca65b492c7a265b220f763fd68bf87391213248f 520084729267ac8df1651ad2f118a1d4a631a10a 5ca8ba4180a6f629d51dba699b4a6428cc5eeba7 201a0eac7fe5e7a8fa33f0742304f885bc344d0d 2bee991460a838ee3c8064a6d880c4e7bc41717a 7722f830a45f7fbb8f2f7b23265793980bdf3397 ] In the non-DT sequence, the platform data is copied as a whole to the dynamic card info and the same pointer 'cinfo' is used to copy the platform information to the card. Use 'priv' as the pointer to the dynamic card info and copy only the useful information from the platform data. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit b367a3252b365fd545fc589a40cad3976e73d7d7 45fce59496cbabd46761e6980c05c82d94d08eaa ca65b492c7a265b220f763fd68bf87391213248f 520084729267ac8df1651ad2f118a1d4a631a10a 5ca8ba4180a6f629d51dba699b4a6428cc5eeba7 201a0eac7fe5e7a8fa33f0742304f885bc344d0d 2bee991460a838ee3c8064a6d880c4e7bc41717a 7722f830a45f7fbb8f2f7b23265793980bdf3397 ] The CPU and CODEC DAI names are still copied to the user info structure. Put them directly in the DAI links. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit b367a3252b365fd545fc589a40cad3976e73d7d7 45fce59496cbabd46761e6980c05c82d94d08eaa ca65b492c7a265b220f763fd68bf87391213248f 520084729267ac8df1651ad2f118a1d4a631a10a 5ca8ba4180a6f629d51dba699b4a6428cc5eeba7 201a0eac7fe5e7a8fa33f0742304f885bc344d0d 2bee991460a838ee3c8064a6d880c4e7bc41717a 7722f830a45f7fbb8f2f7b23265793980bdf3397 ] Have a cleaner code using a DAI link pointer. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit b367a3252b365fd545fc589a40cad3976e73d7d7 45fce59496cbabd46761e6980c05c82d94d08eaa ca65b492c7a265b220f763fd68bf87391213248f 520084729267ac8df1651ad2f118a1d4a631a10a 5ca8ba4180a6f629d51dba699b4a6428cc5eeba7 201a0eac7fe5e7a8fa33f0742304f885bc344d0d 2bee991460a838ee3c8064a6d880c4e7bc41717a 7722f830a45f7fbb8f2f7b23265793980bdf3397 ] The OF pointers are put in the stack and then copied to the card descriptor. Put them directly at their right place. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit b367a3252b365fd545fc589a40cad3976e73d7d7 45fce59496cbabd46761e6980c05c82d94d08eaa ca65b492c7a265b220f763fd68bf87391213248f 520084729267ac8df1651ad2f118a1d4a631a10a 5ca8ba4180a6f629d51dba699b4a6428cc5eeba7 201a0eac7fe5e7a8fa33f0742304f885bc344d0d 2bee991460a838ee3c8064a6d880c4e7bc41717a 7722f830a45f7fbb8f2f7b23265793980bdf3397 ] The DT values are copied to the non-DT structure before being moved to the card structure. Set directly the DT values in the card and move the non-DT copy to the non-DT sequence. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: simple-card: simplify codeJean-Francois Moine
[ Upstream commit b367a3252b365fd545fc589a40cad3976e73d7d7 45fce59496cbabd46761e6980c05c82d94d08eaa ca65b492c7a265b220f763fd68bf87391213248f 520084729267ac8df1651ad2f118a1d4a631a10a 5ca8ba4180a6f629d51dba699b4a6428cc5eeba7 201a0eac7fe5e7a8fa33f0742304f885bc344d0d 2bee991460a838ee3c8064a6d880c4e7bc41717a 7722f830a45f7fbb8f2f7b23265793980bdf3397 ] The check of the mandatory fields is done for DT in its specific sequence. Move the global check to the non-DT sequence. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: add snd_soc_of_parse_audio_simple_widgets for DTXiubo Li
[ Upstream commit 9a6d48605e632e84db2895cf752c65b3c908cd09 ] This patch adds snd_soc_of_parse_audio_simple_widgets() and supports below style of widgets name on DT: "template-wname", "user supplied wname" For instance: simple-audio-widgets = "Microphone", "Microphone Jack", "Line", "Line In Jack", "Line", "Line Out Jack", "Headphone", "Headphone Jack", "Speaker", "Speaker External"; The "template-wname" currently includes: "Microphone", "Line", "Headphone" and "Speaker". Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: davinci-mcasp: Convert to use devm_snd_soc_register_component()Peter Ujfalusi
[ Upstream commit b6bb370956204a0bcbba8ed78d0655c8b37c1ee3 ] It allows to remove code from the cleanup paths. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: davinci-pcm: Convert to use devm_snd_soc_register_platform()Peter Ujfalusi
[ Upstream commit 70e7a023cc9e9afafe503fa5533323ffe7091604 ] Remove the cleanup code related to the platform from the DAI drivers at the same time to avoid breakage. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-hdmi: Remove excess curly bracketPeter Ujfalusi
[ Upstream commit a09f06401239ae4d52c4726f8469e7cd2eb2dae8 ] Fix the error added by commit: ASoC: omap-hdmi: Bind the platform driver to the dai driver when loading Reported-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: davinci-mcasp: Update MCASP_VERSION_4 platform driver registrationPeter Ujfalusi
[ Upstream commit d5c6c59a9d46113aebfd71f995b9e6e9af6a12b8 ] Version 4 of McASP is using omap-pcm as platform driver and the omap-pcm platform need to be registered using the cpu dai's device. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-pcm: Drop the platform driver init codePeter Ujfalusi
[ Upstream commit 5601174ff89f174b36437f7125785552e9c0b0c0 ] The omap-pcm no longer need to be a platform driver since all cpu_dai will bind the platform to it's own device which we can use. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-hdmi-card: Use the same name for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit b30ca4bdde773534daa5e04da946a00cabe44bb5 ] Now that the platform driver is registered with the cpu_dai's device we can use the same name for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: rx51: Use the same name for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit aac25145886d937d29347af80846768b0f1a4bcb ] Now that the platform driver is registered with the cpu_dai's device we can use the same name for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: osk5912: Use the same name for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit b29064af5dcf703b6616810908c57ba8213ad071 ] Now that the platform driver is registered with the cpu_dai's device we can use the same name for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap3pandora: Use the same name for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit bffbe637aafa14cd30e5885eb0f1a59075a19452 ] Now that the platform driver is registered with the cpu_dai's device we can use the same name for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: n810: Use the same name for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit 7f46b0b5445ac4763512bd20dbed77edcc70a8cd ] Now that the platform driver is registered with the cpu_dai's device we can use the same name for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: ams-delta: Use the same name for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit a25f478f792d9992dbb0ffdb79384856150e93ff ] Now that the platform driver is registered with the cpu_dai's device we can use the same name for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: am3517evm: Use the same name for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit 301151733a783d4d8bfa08af8a1eadfea2338cf3 ] Now that the platform driver is registered with the cpu_dai's device we can use the same name for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-twl4030: Use the same name/node for platform as the cpu_daiPeter Ujfalusi
[ Upstream commit dc568f876ad5d2962309c3d41dae879637de37de ] Now that the platform driver is registered with the cpu_dai's device we can use the same name/node for it. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-abe-twl6040: Use the cpu_dai node to specify the platform driverPeter Ujfalusi
[ Upstream commit 25bed461f96f883830b249ed1b1d6eb5d3930537 ] Now that the platform driver is registered with the cpu_dai's device we can use the same node for it instead of the hardwired name. We can also remove the cpu_dai_name and platform_name from the dai_link struct since we only support DT boot on OMAP4/5 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-hdmi: Bind the platform driver to the dai driver when loadingPeter Ujfalusi
[ Upstream commit 9769824cf9ca4bb877146dbec2695bdbf577c499 ] Use the same device for the platform driver when registering as the dai driver. This will enable us to clean up some DT booted cases. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-dmic: Bind the platform driver to the dai driver when loadingPeter Ujfalusi
[ Upstream commit 18d7cfea28fe7e06047abef40a18db2643a427be ] Use the same device for the platform driver when registering as the dai driver. This will enable us to clean up some DT booted cases. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-dmic: Assign the dai DMA data at earlier timePeter Ujfalusi
[ Upstream commit 3802a259272e48870b8d7e02c4fc28f938a699cb ] Assign the dai dma data at dai driver probe time, not in startup. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>
2014-06-20ASoC: omap-mcbsp: Bind the platform driver to the dai driver when loadingPeter Ujfalusi
[ Upstream commit 64241425b8eaf46c971b6ba400c21f71979e6782 ] Use the same device for the platform driver when registering as the dai driver. This will enable us to clean up some DT booted cases. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Darren Etheridge <detheridge@ti.com>