From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Reichel Subject: Re: [PATCHv2 0/6] Motorola Droid 4 Audio Support Date: Mon, 17 Jul 2017 12:12:58 +0200 Message-ID: <20170717101258.llyly7kwfnwtoftr@earth> References: <20170712151846.24621-1-sebastian.reichel@collabora.co.uk> <20170717092904.GG10026@atomide.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7721364405840618863==" Return-path: In-Reply-To: <20170717092904.GG10026@atomide.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Tony Lindgren Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Takashi Iwai , Rob Herring , Liam Girdwood , Mark Brown List-Id: linux-omap@vger.kernel.org --===============7721364405840618863== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mc2oyjl5s67xweu2" Content-Disposition: inline --mc2oyjl5s67xweu2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jul 17, 2017 at 02:29:04AM -0700, Tony Lindgren wrote: > * Sebastian Reichel [170712 08:19]: > > * Switch from simple-audio-card to audio-graph-card >=20 > Gave this a quick try against v4.13-rc1 with SND_AUDIO_GRAPH_CARD > enabled as a loadable module. However loading it oopses for me, > see below. Maybe some dependencies are missing? It works for me on top of v4.13-rc1 (my kernel is monolithic). Looking at the stacktrace it seems to be a bug in audio graph card and not in the codec driver. -- Sebastian > 8< -------------------- > BUG: sleeping function called from invalid context at kernel/locking/mute= x.c:747 > in_atomic(): 1, irqs_disabled(): 128, pid: 1590, name: modprobe > INFO: lockdep is turned off. > irq event stamp: 0 > hardirqs last enabled at (0): [< (null)>] (null) > hardirqs last disabled at (0): [] copy_process.part.5+0x2c4/0x1= ac8 > softirqs last enabled at (0): [] copy_process.part.5+0x2c4/0x1= ac8 > softirqs last disabled at (0): [< (null)>] (null) > CPU: 0 PID: 1590 Comm: modprobe Tainted: G W 4.13.0-rc1+ #126 > Hardware name: Generic OMAP4 (Flattened Device Tree) > [] (unwind_backtrace) from [] (show_stack+0x10/0x14) > [] (show_stack) from [] (dump_stack+0xac/0xe0) > [] (dump_stack) from [] (___might_sleep+0x228/0x2ac) > [] (___might_sleep) from [] (__mutex_lock+0x28/0x9fc) > [] (__mutex_lock) from [] (mutex_lock_nested+0x1c/0x2= 4) > [] (mutex_lock_nested) from [] (kernfs_remove+0x18/0x= 30) > [] (kernfs_remove) from [] (kobject_del+0x14/0x44) > [] (kobject_del) from [] (kobject_put+0x114/0x224) > [] (kobject_put) from [] (of_get_next_parent+0x2c/0x4= c) > [] (of_get_next_parent) from [] (of_graph_get_port_pa= rent+0x10/0x70) > [] (of_graph_get_port_parent) from [] (asoc_simple_ca= rd_parse_graph_dai+0x98/0xe0 [snd_soc_simple_card_utils]) > [] (asoc_simple_card_parse_graph_dai [snd_soc_simple_card_utils= ]) from [] (asoc_graph_card_probe+0x200/0x444 [snd_soc_audio_grap= h_card]) > [] (asoc_graph_card_probe [snd_soc_audio_graph_card]) from [] (platform_drv_probe+0x50/0xb0) > [] (platform_drv_probe) from [] (driver_probe_device+= 0x33c/0x478) > [] (driver_probe_device) from [] (__driver_attach+0xe= 8/0x110) > [] (__driver_attach) from [] (bus_for_each_dev+0x6c/0= xa0) > [] (bus_for_each_dev) from [] (bus_add_driver+0x198/0= x270) > [] (bus_add_driver) from [] (driver_register+0x78/0xf= 4) > [] (driver_register) from [] (do_one_initcall+0x3c/0x= 170) > [] (do_one_initcall) from [] (do_init_module+0x5c/0x1= e0) > [] (do_init_module) from [] (load_module+0x1270/0x14e= c) > [] (load_module) from [] (SyS_finit_module+0xa8/0xec) > [] (SyS_finit_module) from [] (ret_fast_syscall+0x0/0= x1c) > OF: ERROR: Bad of_node_put() on /ocp/spi@48098000/pmic@0/audio-codec/port= @0/endpoint --mc2oyjl5s67xweu2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAllsjacACgkQ2O7X88g7 +prvCg//fZUbCSIXBJx1isxVl1jiQ6Y+VpuMwFtyCeuJTxY3iVlioRSVeJelkF3d TkEr6RgV9wMeH967lDgcYLSECYpWu9otWBLbogqWrdvjmDnDWJaiqnWTY5fjdwKP OMk0THL4m9X3hOvPTdPUkxPEC5V+IsdsQj5mdcdTyubD1WEWi6O+IJOPEA1RvGtd CAGiGOZ8gdwRp+02lm/JxZAdtajslpx/7zaxIUb7lxvYXsnHCtz1Vjqy7/3U1npO S5ukL/MmsFzbb9vrjTBbYIaK8SHeATzWMpcm6Amh8xFNjvglYqgYjVeZxHgdc4kP eZf72n2+9Vv9gZvpBv+3uj28Vs00eVRzf8PzSnzlmxg8udfI837YlmxirH2IPcRv kVfNCQs62aP148CvLIO9R21KD+QBMTBPoROPTDMaTKy1LPCFGkOFPp9l+OUWx0It SYsoJsvZosyPimtcgkbK6dkqZV5f1Mq80mPLo5m/sADXxhxaSeBM/86fEWMH1kkn sCC2ssyeLPb5C6892dTC3mPd2brvXZaMtJ+/CIFen2yRWLgMeo9Y7OjQ5Ph+J+yx gixlXY0HAgCasvckHcCv1TC3ltOUK0fVIZxemQGPuKDj74gnQYxFI1j0FQUlzbxX Zf6JWG/m0GSK2S9m0YteUqdUSGslP239N9c9LeEPJ6BY6ZBpXhM= =TOkW -----END PGP SIGNATURE----- --mc2oyjl5s67xweu2-- --===============7721364405840618863== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7721364405840618863==--