1. 26 Feb, 2019 4 commits
  2. 22 Feb, 2019 6 commits
  3. 21 Feb, 2019 1 commit
  4. 20 Feb, 2019 8 commits
  5. 19 Feb, 2019 17 commits
  6. 18 Feb, 2019 4 commits
    • Mark Brown's avatar
      Merge branch 'for-5.0' of... · 9516e531
      Mark Brown authored
      Merge branch 'for-5.0' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.1 for refcount fix
      9516e531
    • Kuninori Morimoto's avatar
      ASoC: simple-card: fixup refcount_t underflow · 19dd0777
      Kuninori Morimoto authored
      commit da215354 ("ASoC: simple-card: merge simple-scu-card")
      merged simple-card and simple-scu-card. Then it had refcount
      underflow bug. This patch fixup it.
      We will get below error without this patch.
      
      	OF: ERROR: Bad of_node_put() on /sound
      	CPU: 3 PID: 237 Comm: kworker/3:1 Not tainted 5.0.0-rc6+ #1514
      	Hardware name: Renesas H3ULCB Kingfisher board based on r8a7795 ES2.0+ (DT)
      	Workqueue: events deferred_probe_work_func
      	Call trace:
      	 dump_backtrace+0x0/0x150
      	 show_stack+0x24/0x30
      	 dump_stack+0xb0/0xec
      	 of_node_release+0xd0/0xd8
      	 kobject_put+0x74/0xe8
      	 of_node_put+0x24/0x30
      	 __of_get_next_child+0x50/0x70
      	 of_get_next_child+0x40/0x68
      	 asoc_simple_card_probe+0x604/0x730
      	 platform_drv_probe+0x58/0xa8
      	 ...
      Reported-by: default avatarVicente Bergas <vicencb@gmail.com>
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      19dd0777
    • Daniel Baluta's avatar
      ASoC: simple-card: Fix refcount underflow · 461d854c
      Daniel Baluta authored
      of_get_child_by_name() takes a reference we'll need to drop
      later so when we substitute in top we need to take a reference
      as well as just assigning.
      
      Without this patch we hit the following error:
      
      [    1.246852] OF: ERROR: Bad of_node_put() on /sound-wm8524
      [    1.262261] Hardware name: NXP i.MX8MQ EVK (DT)
      [    1.266807] Workqueue: events deferred_probe_work_func
      [    1.271950] Call trace:
      [    1.274406]  dump_backtrace+0x0/0x158
      [    1.278074]  show_stack+0x14/0x20
      [    1.281396]  dump_stack+0xa8/0xcc
      [    1.284717]  of_node_release+0xb0/0xc8
      [    1.288474]  kobject_put+0x74/0xf0
      [    1.291879]  of_node_put+0x14/0x28
      [    1.295286]  __of_get_next_child+0x44/0x70
      [    1.299387]  of_get_next_child+0x3c/0x60
      [    1.303315]  simple_for_each_link+0x1dc/0x230
      [    1.307676]  simple_probe+0x80/0x540
      [    1.311256]  platform_drv_probe+0x50/0xa0
      
      This patch is based on an earlier version posted by Kuninori Morimoto
      and commit message includes explanations from Mark Brown.
      
      https://patchwork.kernel.org/patch/10814255/Reported-by: default avatarVicente Bergas <vicencb@gmail.com>
      Signed-off-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      461d854c
    • Sylwester Nawrocki's avatar
      ASoC: samsung: odroid: Ensure proper sample rate on pri/sec PCM · b5c16a24
      Sylwester Nawrocki authored
      Currently when playing sound with different sample rates actual
      sample rate will be determined by audio stream which starts first
      on either primary or secondary PCM. The audio root clock will be
      configured appropriately only for the first stream. As the hardware
      is limited to same sample rate on both interfaces we need to disallow
      streams with different sample rates. It is done by this patch by
      returning error in FE hw_params if there is already active stream
      running with different sample rate.
      Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      b5c16a24