All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/19] ASoC: add soc-card
@ 2020-05-26  1:15 Kuninori Morimoto
  2020-05-26  1:16 ` [PATCH 01/19] ASoC: soc.h: convert bool to bit field for snd_soc_card Kuninori Morimoto
                   ` (18 more replies)
  0 siblings, 19 replies; 29+ messages in thread
From: Kuninori Morimoto @ 2020-05-26  1:15 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA


Hi Mark

Current ALSA SoC is handling snd_soc_card related operation,
but it is implmemented directly without using function/macro,
and at random place.

This patch-set creates new snd_soc_card_xxx() functions
which handles snd_soc_card related operation,
and implmement these at new soc-card.c.

Kuninori Morimoto (19):
  ASoC: soc.h: convert bool to bit field for snd_soc_card
  ASoC: add soc-card.c
  ASoC: soc-card: move snd_soc_card_get_kcontrol() to soc-card
  ASoC: soc-card: move snd_soc_card_jack_new() to soc-card
  ASoC: soc-card: move snd_soc_card_set/get_drvdata() to soc-card
  ASoC: soc-card: move snd_soc_card_get_codec_dai() to soc-card
  ASoC: soc-card: move snd_soc_card_subclass to soc-card
  ASoC: soc-card: add snd_soc_card_suspend_pre()
  ASoC: soc-card: add snd_soc_card_suspend_post()
  ASoC: soc-card: add snd_soc_card_resume_pre()
  ASoC: soc-card: add snd_soc_card_resume_post()
  ASoC: soc-card: add probed bit field to snd_soc_card
  ASoC: soc-card: add snd_soc_card_probe()
  ASoC: soc-card: add snd_soc_card_late_probe()
  ASoC: soc-card: add snd_soc_card_remove()
  ASoC: soc-card: add snd_soc_card_set_bias_level()
  ASoC: soc-card: add snd_soc_card_set_bias_level_post()
  ASoC: soc-card: add snd_soc_card_add_dai_link()
  ASoC: soc-card: add snd_soc_card_remove_dai_link()

 include/sound/soc-card.h |  69 +++++++++++++
 include/sound/soc.h      |  53 ++--------
 sound/soc/Makefile       |   2 +-
 sound/soc/soc-card.c     | 218 +++++++++++++++++++++++++++++++++++++++
 sound/soc/soc-core.c     |  71 ++++---------
 sound/soc/soc-dapm.c     |   8 +-
 sound/soc/soc-jack.c     |  38 -------
 7 files changed, 320 insertions(+), 139 deletions(-)
 create mode 100644 include/sound/soc-card.h
 create mode 100644 sound/soc/soc-card.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: [PATCH 02/19] ASoC: add soc-card.c
@ 2020-05-28  1:18 kbuild test robot
  0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2020-05-28  1:18 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2825 bytes --]

In-Reply-To: <87eer7337h.wl-kuninori.morimoto.gx@renesas.com>
References: <87eer7337h.wl-kuninori.morimoto.gx@renesas.com>
TO: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Hi Kuninori,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on asoc/for-next]
[also build test ERROR on next-20200526]
[cannot apply to v5.7-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-add-soc-card/20200526-092901
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: powerpc-randconfig-r021-20200527 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

ld.lld: error: sound/soc/soc-core.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-dapm.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-jack.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-utils.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-dai.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-component.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-pcm.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-io.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-devres.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-ops.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-link.o is incompatible with elf64lppc
>> ld.lld: error: sound/soc/soc-card.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-topology.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-generic-dmaengine-pcm.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-ac97.o is incompatible with elf64lppc
ld.lld: error: sound/soc/soc-compress.o is incompatible with elf64lppc

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35736 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2020-05-28  1:18 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26  1:15 [PATCH 00/19] ASoC: add soc-card Kuninori Morimoto
2020-05-26  1:16 ` [PATCH 01/19] ASoC: soc.h: convert bool to bit field for snd_soc_card Kuninori Morimoto
2020-05-26  1:16 ` [PATCH 02/19] ASoC: add soc-card.c Kuninori Morimoto
2020-05-27  0:26   ` Ranjani Sridharan
2020-05-28  0:03     ` Kuninori Morimoto
2020-05-28  0:35       ` Kuninori Morimoto
2020-05-26  1:16 ` [PATCH 03/19] ASoC: soc-card: move snd_soc_card_get_kcontrol() to soc-card Kuninori Morimoto
2020-05-26  1:16 ` [PATCH 04/19] ASoC: soc-card: move snd_soc_card_jack_new() " Kuninori Morimoto
2020-05-26  1:17 ` [PATCH 05/19] ASoC: soc-card: move snd_soc_card_set/get_drvdata() " Kuninori Morimoto
2020-05-26  1:17 ` [PATCH 06/19] ASoC: soc-card: move snd_soc_card_get_codec_dai() " Kuninori Morimoto
2020-05-26  1:17 ` [PATCH 07/19] ASoC: soc-card: move snd_soc_card_subclass " Kuninori Morimoto
2020-05-26  1:17 ` [PATCH 08/19] ASoC: soc-card: add snd_soc_card_suspend_pre() Kuninori Morimoto
2020-05-26  1:17 ` [PATCH 09/19] ASoC: soc-card: add snd_soc_card_suspend_post() Kuninori Morimoto
2020-05-26  1:17 ` [PATCH 10/19] ASoC: soc-card: add snd_soc_card_resume_pre() Kuninori Morimoto
2020-05-26  1:18 ` [PATCH 11/19] ASoC: soc-card: add snd_soc_card_resume_post() Kuninori Morimoto
2020-05-26  1:18 ` [PATCH 12/19] ASoC: soc-card: add probed bit field to snd_soc_card Kuninori Morimoto
2020-05-26 14:08   ` Pierre-Louis Bossart
2020-05-27 23:58     ` Kuninori Morimoto
2020-05-26  1:18 ` [PATCH 13/19] ASoC: soc-card: add snd_soc_card_probe() Kuninori Morimoto
2020-05-26  1:18 ` [PATCH 14/19] ASoC: soc-card: add snd_soc_card_late_probe() Kuninori Morimoto
2020-05-26  1:18 ` [PATCH 15/19] ASoC: soc-card: add snd_soc_card_remove() Kuninori Morimoto
2020-05-26  1:18 ` [PATCH 16/19] ASoC: soc-card: add snd_soc_card_set_bias_level() Kuninori Morimoto
2020-05-27  0:23   ` Ranjani Sridharan
2020-05-28  0:02     ` Kuninori Morimoto
2020-05-26  1:19 ` [PATCH 17/19] ASoC: soc-card: add snd_soc_card_set_bias_level_post() Kuninori Morimoto
2020-05-27  0:24   ` Ranjani Sridharan
2020-05-26  1:19 ` [PATCH 18/19] ASoC: soc-card: add snd_soc_card_add_dai_link() Kuninori Morimoto
2020-05-26  1:19 ` [PATCH 19/19] ASoC: soc-card: add snd_soc_card_remove_dai_link() Kuninori Morimoto
2020-05-28  1:18 [PATCH 02/19] ASoC: add soc-card.c kbuild test robot

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.