1. 26 Feb, 2019 5 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 3 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