aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/generic/simple-card.c
AgeCommit message (Expand)AuthorFilesLines
2025-02-06ASoC: simple-card-utils: use snd_soc_ret()Kuninori Morimoto1-2/+2
2025-02-06ASoC: simple-card: use snd_soc_ret()Kuninori Morimoto1-59/+71
2025-01-13ASoC: simple-card: use __free(device_node) for device nodeKuninori Morimoto1-41/+17
2024-09-09ASoC: Switch back to struct platform_driver::remove()Uwe Kleine-König1-1/+1
2024-08-22ASoC: remove snd_soc_dai_link_set_capabilities()Kuninori Morimoto1-2/+0
2024-07-08ASoC: simple-card: Use cleanup.h instead of devm_kfree()Krzysztof Kozlowski1-3/+2
2024-06-26ASoC: simple-audio-card: add link-trigger-order supportKuninori Morimoto1-0/+10
2024-06-03ASoC: simple-audio-card: merge simple_parse_mclk_fs() into simple_link_init()Kuninori Morimoto1-21/+10
2024-06-03ASoC: simple-audio-card: enable playback/capture_only propertyKuninori Morimoto1-5/+20
2023-10-23ASoC: simple-card-utils: Make simple_util_remove() return voidUwe Kleine-König1-1/+1
2023-10-09ASoC: Explicitly include correct DT includesRob Herring1-1/+1
2023-09-26ASoC: Merge up fixesMark Brown1-2/+4
2023-09-25ASoC: generic: convert not to use asoc_xxx()Kuninori Morimoto1-74/+73
2023-09-19ASoC: simple-card: fixup asoc_simple_probe() error handlingKuninori Morimoto1-2/+4
2023-07-17ASoC: simple-card.c: enable multi Component supportKuninori Morimoto1-2/+18
2023-07-09ASoC: simple-card: Handle additional devicesHerve Codina1-2/+44
2023-06-20ASoC: simple-card.c: use snd_soc_{of_}get_dlc()Kuninori Morimoto1-3/+1
2023-06-20ASoC: soc-core.c: add index on snd_soc_of_get_dai_name()Kuninori Morimoto1-1/+1
2023-05-26ASoC: simple-card: Add missing of_node_put() in case of errorHerve Codina1-0/+1
2023-03-24ASoC: simple-card.c: add missing of_node_put()Kuninori Morimoto1-0/+1
2023-03-22ASoC: simple-card: add comment to indicate don't remove platformsKuninori Morimoto1-1/+21
2023-01-27ASoC: simple-card-utils: create jack inputs for aux_devsAstrid Rost1-0/+4
2022-10-19ASoC: simple-card: Fix up checks for HW param fixupsAidan MacDonald1-2/+1
2022-01-11ASoC: simple-card: fix probe failure on platform componentRobert Hancock1-1/+25
2021-12-20ASoC: generic: Use dev_err_probe() helperKuninori Morimoto1-2/+1
2021-06-22ASoC: simple-card: Fill in driver nameGuido Günther1-0/+1
2021-05-11ASoC: simple-card: add simple_link_init()Kuninori Morimoto1-31/+30
2021-05-11ASoC: simple-card: add simple_parse_node()Kuninori Morimoto1-54/+53
2021-04-23ASoC: simple-card: Fix breakage on kontron-sl28-var3-ads2Mark Brown1-88/+90
2021-04-21ASoC: simple-card: add simple_link_init()Kuninori Morimoto1-29/+30
2021-04-21ASoC: simple-card: add simple_parse_node()Kuninori Morimoto1-61/+58
2021-04-20ASoC: audio-graph: move audio_graph_remove() to simple-card-utils.cKuninori Morimoto1-7/+0
2021-04-20ASoC: simple-card-utils: Allocate link info structure on heapThierry Reding1-10/+13
2021-04-16ASoC: simple-card-utils: Increase maximum number of links to 128Thierry Reding1-2/+2
2021-04-16ASoC: simple-card-utils: Propagate errors on too many linksThierry Reding1-7/+10
2021-04-15ASoC: simple-card: use simple_props_to_xxx() macroKuninori Morimoto1-5/+5
2021-04-15ASoC: simple-card: use asoc_link_to_xxx() macroKuninori Morimoto1-16/+19
2021-04-15ASoC: simple-card: remove unused variable from simple_parse_of()Kuninori Morimoto1-5/+0
2021-04-13ASoC: simple-card-utils: tidyup asoc_simple_parse_convert()Kuninori Morimoto1-4/+4
2021-04-13ASoC: simple-card-utils: multi support at asoc_simple_canonicalize_cpu/platfo...Kuninori Morimoto1-4/+5
2021-04-13ASoC: simple-card-utils: remove asoc_simple_parse_xxx()Kuninori Morimoto1-9/+9
2021-04-13ASoC: simple-card-utils: remove li->dais/li->confKuninori Morimoto1-10/+1
2021-04-13ASoC: simple-card-utils: setup dai_props cpu_dai/codec_dai at initial timingKuninori Morimoto1-19/+5
2021-04-08ASoC: simple-card-utils: share dummy DAI and reduce memoryKuninori Morimoto1-11/+1
2021-04-08ASoC: simple-card-utils: enable flexible CPU/Codec/PlatformKuninori Morimoto1-0/+30
2021-04-07ASoC: simple-card: fix possible uninitialized single_cpu local variableKrzysztof Kozlowski1-1/+1
2021-03-31ASoC: simple-card: cleanup graph_for_each_link()Kuninori Morimoto1-64/+61
2021-03-31ASoC: simple-card: count DAI / link numbers as in orderKuninori Morimoto1-9/+31
2020-08-18ASoC: simple-card: Use snd_soc_of_parse_aux_devs()Stephan Gerhold1-32/+1
2020-07-08ASoC: soc-dai: set dai_link dpcm_ flags with a helperPierre-Louis Bossart1-2/+2
2019-12-10ASoC: simple-card: Don't create separate link when platform is presentDaniel Baluta1-0/+6
2019-10-15ASoC: simple-card: fixup simple_dai_link_of_dpcm() commentKuninori Morimoto1-2/+2
2019-09-03ASoC: simple-card: indicate rebind issueKuninori Morimoto1-1/+19
2019-08-09ASoC: simple-card: use snd_soc_dai_link_component for aux_devKuninori Morimoto1-1/+1
2019-07-10ASoC: simple-card: fix an use-after-free in simple_for_each_link()Wen Yang1-2/+2
2019-07-10ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm()Wen Yang1-11/+11
2019-06-06ASoC: simple-card: support snd_soc_dai_link_component style for cpuKuninori Morimoto1-25/+14
2019-05-30Merge branch 'asoc-5.2' into asoc-5.3Mark Brown1-5/+5
2019-05-24ASoC: simple-card: Restore original configuration of DAI formatJon Hunter1-5/+5
2019-05-21Merge branch 'for-5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/bro...Mark Brown1-5/+5
2019-05-20ASoC: simple-card: Fix configuration of DAI formatJon Hunter1-5/+5
2019-05-20ASoC: rename functions that pollute the simple_xxx namespaceAmir Goldstein1-4/+4
2019-04-26ASoC: simple-card: Read pin switches conf from devicetreePaul Cercueil1-0/+4
2019-04-04Merge branch 'asoc-5.1' into asoc-5.2Mark Brown1-3/+9
2019-04-04ASoC: simple-card: don't select DPCM via simple-audio-cardKuninori Morimoto1-3/+9
2019-03-21ASoC: simple-card-utils: rename asoc_simple_card_xxx() to asoc_simple_()Kuninori Morimoto1-49/+49
2019-03-21ASoC: simple-card-utils: separate asoc_simple_card_parse_dai()Kuninori Morimoto1-7/+51
2019-03-21ASoC: simple-card-utils: share asoc_simple_card_init_priv()Kuninori Morimoto1-45/+11
2019-03-21ASoC: simple-card-utils: share asoc_simple_be_hw_params_fixup()Kuninori Morimoto1-12/+1
2019-03-21ASoC: simple-card-utils: share asoc_simple_dai_init()Kuninori Morimoto1-22/+3
2019-03-21ASoC: simple-card-utils: share asoc_simple_hw_param()Kuninori Morimoto1-57/+1
2019-03-21ASoC: simple-card-utils: share asoc_simple_shutdown()Kuninori Morimoto1-13/+1
2019-03-21ASoC: simple-card-utils: share asoc_simple_startup()Kuninori Morimoto1-20/+1
2019-03-21ASoC: simple_card_utils: share common priv for simple-card/audio-graphKuninori Morimoto1-40/+17
2019-03-21ASoC: simple-card-utils: add asoc_simple_debug_info()Kuninori Morimoto1-0/+2
2019-03-18ASoC: simple-card: add simple_parse_mclk_fs()Kuninori Morimoto1-11/+22
2019-03-18ASoC: simple-card: rename simple_get_conversion() to simple_parse_convert()Kuninori Morimoto1-5/+5
2019-02-20ASoC: simple-card: Fix of-node refcount unbalance in DAI-link parserTakashi Iwai1-6/+12
2019-02-20ASoC: simple-card: Fix missing of_node_put() at simple_dai_link_of()Takashi Iwai1-0/+1
2019-02-18ASoC: simple-card: Fix refcount underflowDaniel Baluta1-1/+1
2019-01-21ASoC: simple-card: rename to asoc_simple_card_canonicalize_platform()Kuninori Morimoto1-8/+3
2019-01-21ASoC: soc-core: add .num_platform for dai_linkKuninori Morimoto1-3/+4
2019-01-03ASoC: simple-card: reduce naming prefixKuninori Morimoto1-78/+79
2019-01-03ASoC: simple-card: cleanup DAI link loop method - step2Kuninori Morimoto1-93/+81
2019-01-03ASoC: simple-card: cleanup DAI link loop method - step1Kuninori Morimoto1-73/+137
2019-01-03ASoC: simple-card: add link_infoKuninori Morimoto1-44/+50
2019-01-03ASoC: simple-card: add 1 CPU : 1 Codec support againKuninori Morimoto1-4/+28
2019-01-03ASoC: simple-card: add asoc_simple_card_get_conversion()Kuninori Morimoto1-3/+16
2018-12-14ASoC: simple-card: tidyup prefix for snd_soc_codec_confKuninori Morimoto1-11/+8
2018-12-14ASoC: simple-card: tidyup convert_rate/channel methodKuninori Morimoto1-6/+2
2018-12-14ASoC: simple-card: tidyup mclk-fs methodKuninori Morimoto1-13/+17
2018-12-14ASoC: simple-card: merge simple-scu-cardKuninori Morimoto1-46/+283
2018-12-13ASoC: simple-card: Dereference pointer for memcpy sizeof in asoc_simple_card_...Nathan Chancellor1-4/+8
2018-12-11ASoC: simple-card: use cpu/codec pointer on simple_dai_propsKuninori Morimoto1-26/+36
2018-11-21ASoC: simple_card_utils: remove "option" from asoc_simple_card_of_parse_routi...Kuninori Morimoto1-1/+1
2018-08-31ASoC: simple-card: support snd_soc_dai_link_component style for platformKuninori Morimoto1-1/+6
2018-08-31ASoC: simple-card: support snd_soc_dai_link_component style for codecKuninori Morimoto1-4/+19
2018-07-02ASoC: simple-card: convert to SPDX identifiersKuninori Morimoto1-10/+7
2018-06-18ASoC: simple-card: move hp and mic detection to soc_card probeKatsuhiro Suzuki1-8/+17
2018-06-18ASoC: simple-card-utils: move hp and mic detect gpios from simple-cardKatsuhiro Suzuki1-64/+0
2018-06-12treewide: devm_kzalloc() -> devm_kcalloc()Kees Cook1-4/+4
2018-06-01ASoC: simple-card: set cpu dai clk in hw_paramsDaniel Mack1-0/+21
2017-08-22ASoC: simple-card: Remove superfluous snd_soc_jack_free_gpios() callTakashi Iwai1-10/+0
2017-07-03Merge remote-tracking branches 'asoc/topic/msm8916', 'asoc/topic/mtk', 'asoc/...Mark Brown1-31/+23
2017-07-03Merge remote-tracking branch 'asoc/topic/rcar' into asoc-nextMark Brown1-11/+4
2017-06-16ASoC: simple-card: use asoc_simple_card_of_parse_widgets()Kuninori Morimoto1-7/+3
2017-06-15ASoC: simple-card: use asoc_simple_card_of_parse_routing()Kuninori Morimoto1-7/+3
2017-06-14ASoC: simple-card: use asoc_simple_card_of_parse_tdm()Kuninori Morimoto1-8/+2
2017-06-13ASoC: simple-card: use asoc_simple_card_clk_xxx()Kuninori Morimoto1-5/+5
2017-06-13Merge branch 'topic/rcar' of git://git.kernel.org/pub/scm/linux/kernel/git/br...Mark Brown1-11/+4
2017-06-07ASoC: simple-card: remove duplicate parameter from asoc_simple_card_parse_of()Kuninori Morimoto1-3/+3
2017-06-06ASoC: simple-card-utils: share same dev_dbg() for sysclkKuninori Morimoto1-7/+0
2017-06-06ASoC: simple-card-utils: share same dev_dbg() for Dai NameKuninori Morimoto1-1/+0
2017-06-06ASoC: simple-card-utils: share same dev_dbg() for DAI formatKuninori Morimoto1-1/+0
2017-05-24ASoC: simple-card: Fix misleading error messageJulian Scheel1-1/+7
2017-05-19ASoC: simple-card: fix mic jack initializationStefan Agner1-1/+1
2017-05-19ASoC: simple-card: tidyup return method from probe()Kuninori Morimoto1-2/+4
2017-04-30Merge remote-tracking branches 'asoc/topic/samsung', 'asoc/topic/sgtl5000', '...Mark Brown1-19/+24
2017-03-16ASoC: simple-card: add new simple_priv_to_card() macroKuninori Morimoto1-18/+23
2017-03-16ASoC: simple-card: use defined dev on probe()Kuninori Morimoto1-2/+2
2017-01-23ASoC: simple-card: use devm_get_clk_from_child()Kuninori Morimoto1-2/+2
2016-10-24ASoC: constify snd_soc_ops structuresJulia Lawall1-1/+1
2016-09-26ASoC: simple-card: add support for aux devicesNikita Yushchenko1-0/+34
2016-09-01ASoC: simple-card: use kzalloc() for dai_props / dai_linkKuninori Morimoto1-12/+11
2016-09-01ASoC: simple-card: code sync: rename num_link to numKuninori Morimoto1-6/+6
2016-09-01ASoC: simple-card: code sync: use tagKuninori Morimoto1-4/+4
2016-09-01ASoC: simple-card: code sync: tidyup white lineKuninori Morimoto1-3/+2
2016-09-01ASoC: simple-card: is GPL v2Kuninori Morimoto1-1/+1
2016-09-01ASoC: simple-card: code sync: use simple_priv_to_props() macroKuninori Morimoto1-4/+6
2016-09-01ASoC: simple-card: code sync: tidyup simple_priv_to_xxx() macroKuninori Morimoto1-2/+2
2016-09-01ASoC: simple-card: tidyup mclk-fs of_property_read_u32() usageKuninori Morimoto1-7/+2
2016-09-01ASoC: simple-card: call of_node_put() for dai_linkKuninori Morimoto1-8/+12
2016-08-10ASoC: simple-card: use asoc_simple_card_clean_reference()Kuninori Morimoto1-17/+2
2016-08-10ASoC: simple-card: use asoc_simple_card_canonicalize_cpu()Kuninori Morimoto1-11/+1
2016-08-09ASoC: simple-card: use asoc_simple_card_canonicalize_dailink()Kuninori Morimoto1-7/+2
2016-08-09ASoC: simple-card: use asoc_simple_card_init_dai()Kuninori Morimoto1-35/+3
2016-08-08ASoC: simple-card: remove asoc_simple_card_sub_parse_of()Kuninori Morimoto1-38/+8
2016-08-08ASoC: simple-card: use asoc_simple_card_parse_dai()Kuninori Morimoto1-25/+18
2016-08-05ASoC: simple-card: use asoc_simple_card_parse_clk()Kuninori Morimoto1-25/+10
2016-07-16ASoC: simple-card: use asoc_simple_card_parse_card_name()Kuninori Morimoto1-8/+3
2016-07-16ASoC: simple-card: use asoc_simple_card_parse_dailink_name()Kuninori Morimoto1-12/+5
2016-07-01ASoC: simple-card: use asoc_simple_card_parse_daifmt()Kuninori Morimoto1-44/+2
2016-06-29ASoC: simple-card: add new asoc_simple_jack and use itKuninori Morimoto1-75/+78
2016-06-13ASoC: simple-card: use common PREFIX for each DT propertyKuninori Morimoto1-11/+13
2016-05-30ASoC: simple-card: platform also uses asoc_simple_card_sub_parse_of()Kuninori Morimoto1-12/+19
2016-05-09ASoC: simple-card: Add pm callbacks to platform driverPeter Ujfalusi1-0/+1
2016-01-27ASoC: simple-card: don't fail if sysclk setting is not supportedAaro Koskinen1-1/+1
2015-11-18ASoC: Change the PCM runtime array to a listMengdong Lin1-7/+5
2015-09-16ASoC: simple-card: Add tdm slot mask support to simple-cardJyri Sarha1-2/+6
2015-07-07ASoC: simple card: set cpu-dai sysclk with mclk-fsArnaud Pouliquen1-0/+9
2015-06-12ASoC: simple card: Add mclk-fs property in dai-linkArnaud Pouliquen1-3/+15
2015-05-04ASoC: simple-card: support platform in dts parseJun Nie1-2/+14
2015-04-12Merge remote-tracking branches 'asoc/topic/rt5641', 'asoc/topic/rt5677' and '...Mark Brown1-22/+8
2015-03-26ASoC: simple-card: Remove support for setting differing DAI formatsLars-Peter Clausen1-22/+8
2015-03-05Merge remote-tracking branches 'asoc/topic/jack', 'asoc/topic/max98357a', 'as...Mark Brown1-10/+10
2015-03-04ASoC: simple-card: Register jacks at the card levelLars-Peter Clausen1-10/+10
2015-03-03ASoC: simple-card: Add a NULL pointer check in asoc_simple_card_dai_link_ofVishal Thanki1-0/+5
2015-02-09Merge remote-tracking branches 'asoc/topic/simple', 'asoc/topic/sta32x', 'aso...Mark Brown1-0/+34
2015-02-04Merge remote-tracking branches 'asoc/topic/rx51', 'asoc/topic/samsung', 'asoc...Mark Brown1-0/+34
2015-01-15ASoC: simple-card: Enable and disable DAI clocks as neededJyri Sarha1-0/+34
2015-01-14ASoC: simple-card: Fix crash in asoc_simple_card_unref()Geert Uytterhoeven1-4/+3
2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+0
2014-11-25ASoC: simple-card: Remove useless function argumentJean-Francois Moine1-2/+1
2014-11-10ASoC: simple-card: Remove useless castsJean-Francois Moine1-5/+2
2014-11-03ASoC: simple-card: add "invert" property for detect GPIOsJianqun1-4/+11
2014-10-28ASoC: simple-card: add asoc_simple_card_parse_daifmt()Kuninori Morimoto1-69/+65
2014-10-20ASoC: generic: drop owner assignment from platform_driversWolfram Sang1-1/+0
2014-10-20ASoC: simple-card: Delete unneeded test before of_node_putFabio Estevam1-10/+5
2014-10-07ASoC: simple-card: Initialize headphone and mic GPIO numbersGeert Uytterhoeven1-0/+3
2014-10-02ASoC: simple-card: Add mic and hp detect gpios.Dylan Reid1-0/+73
2014-10-02Merge tag 'v3.17-rc4' into asoc-simpleMark Brown1-0/+8
2014-09-12ASoC: simple-card: tidyup get dai_link/dai_props from privKuninori Morimoto1-9/+7
2014-09-12ASoC: simple-card: tidyup use priv in parameterKuninori Morimoto1-6/+9
2014-09-10ASoC: simple-card: fix regression in clock rate lookupArnd Bergmann1-2/+1
2014-09-10ASoC: simple-card: Adjust the comments of simple card.Xiubo Li1-24/+24
2014-09-09ASoC: simple-card: Merge single and muti DAI link(s) code.Xiubo Li1-10/+12
2014-09-03ASoC: simple-card: fixup cpu_dai_name clear caseKuninori Morimoto1-10/+19
2014-09-01ASoC: simple-card: Fix bug of wrong decrement DT node's refcountXiubo Li1-0/+8
2014-08-29ASoC: simple-card: use common for_each_child_of_node() for loopKuninori Morimoto1-2/+4
2014-08-29ASoC: simple-card: dai_link->init should be cared when multi DAIKuninori Morimoto1-5/+2
2014-08-29ASoC: simple-card: remove dai_link->cpu_dai_name when DTKuninori Morimoto1-12/+11
2014-08-29ASoC: simple-card: use asoc_simple_xxx prefixKuninori Morimoto1-9/+11
2014-08-18ASoC: simple-card: Fix the compile warning.Xiubo Li1-1/+1
2014-06-21ASoC: simple-card: Make u32 DT parameter handling 64-bit proofJyri Sarha1-6/+7
2014-05-26ASoC: simple-card: Support setting mclk via a fixed factorAndrew Lunn1-0/+28
2014-04-24ASoC: simple-card: is_top_level_node parameter to simple_card_dai_link_of()Jyri Sarha1-4/+7
2014-04-24ASoC: simple-card: Improve coding styleNicolin Chen1-12/+11
2014-04-24ASoC: simple-card: Simplify error msg in simple_card_dai_link_of()Nicolin Chen1-4/+2
2014-04-24ASoC: simple-card: Drop node->name checkingNicolin Chen1-2/+1
2014-04-23ASoC: simple-card: Move dai-link level properties away from dai subnodesJyri Sarha1-99/+140
2014-04-23ASoC: core: Update snd_soc_of_parse_daifmt() interfaceJyri Sarha1-2/+3
2014-03-25ASoC: simple-card: Handle many DAI linksJean-Francois Moine1-69/+121
2014-03-25ASoC: simple-card: dynamically allocate the DAI link and propertiesJean-Francois Moine1-15/+27
2014-03-18ASoC: simple-card: overwrite cpu_dai->fmt with codec_dai->fmtNicolin Chen1-6/+14
2014-03-17ASoC: simple-card: Simplify codeJean-Francois Moine1-5/+5
2014-03-14ASoC: simple-card: Fix the reference count of device nodesJean-Francois Moine1-13/+37
2014-03-10ASoC: simple-card: card name can be optionKuninori Morimoto1-2/+1
2014-03-05ASoC: simple-card: tidyup cpu/codec dai_fmt settings for non-DTKuninori Morimoto1-0/+3
2014-02-28ASoC: simple-card: cpu_dai_name creates confusion when DT caseKuninori Morimoto1-0/+11
2014-02-23ASoC: simple-card: add slot information parsing supportsXiubo Li1-0/+18