Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69190

Bug#980539: linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings

From "Rob J. Epping" <epping@renf.us>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#980539: linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings
Date 2021-01-20 12:10 +0100
Message-ID <Bzjx8-6IL-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: src:linux
Version: 5.9.15-1~bpo10+1
Severity: normal
Tags: patch

Dear Maintainer,

When I switched from buster kernel (4.19) to buster-backport kernel
(5.9) I started gerring warning messages like
"WARNING: CPU: 1 PID: 371 at sound/core/init.c:207 snd_card_new+0x364/0x390 [snd]"

These warnings are similar to the report in [1] 

Patching sound/soc/sunxi/sun4i-codec.c in a simmilar way as mentioned in
[1] seems to remove the warning.

[1] <https://lore.kernel.org/alsa-devel/20200820154511.203072-1-stephan@gerhold.net/>

Can this be fixed for sun4i as wel?

-- Package-specific info:
** Version:
Linux version 5.9.0-0.bpo.5-armmp-lpae (debian-kernel@lists.debian.org) (gcc-8 (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Debian 5.9.15-1~bpo10+1 (2020-12-31)

** Command line:
console=ttyS0,115200

** Tainted: COE (13312)
 * staging driver was loaded
 * externally-built ("out-of-tree") module was loaded
 * unsigned module was loaded

** Kernel log:
[attached]

** Model information
Hardware	: Allwinner sun7i (A20) Family
Revision	: 0000
Device Tree model: Cubietech Cubietruck

** Loaded modules:
binfmt_misc(E)
sun4i_spdif(OE)
nfsd(E)
auth_rpcgss(E)
nfs_acl(E)
nfs(E)
lockd(E)
grace(E)
nfs_ssc(E)
fscache(E)
sunrpc(E)
8021q(E)
garp(E)
mrp(E)
stp(E)
llc(E)
brcmfmac(E)
brcmutil(E)
cfg80211(E)
rfkill(E)
des_generic(E)
evdev(E)
realtek(E)
ecb(E)
dwmac_sunxi(E)
aes_arm(E)
stmmac_platform(E)
stmmac(E)
aes_generic(E)
sun4i_codec(OE)
libaes(E)
snd_soc_simple_card(E)
mdio_xpcs(E)
phylink(E)
cbc(E)
snd_soc_simple_card_utils(E)
snd_soc_spdif_tx(E)
ptp(E)
snd_soc_core(E)
pps_core(E)
snd_pcm_dmaengine(E)
sunxi_cedrus(CE)
lima(E)
snd_pcm(E)
snd_timer(E)
sun4i_backend(E)
gpu_sched(E)
videobuf2_dma_contig(E)
snd(E)
axp20x_usb_power(E)
axp20x_ac_power(E)
axp20x_battery(E)
v4l2_mem2mem(E)
axp20x_adc(E)
axp20x_regulator(E)
industrialio(E)
sunxi(E)
videobuf2_memops(E)
axp20x_pek(E)
sun4i_ts(E)
sun4i_ss(E)
videobuf2_v4l2(E)
sunxi_cir(E)
soundcore(E)
ohci_platform(E)
ehci_platform(E)
phy_generic(E)
nvmem_sunxi_sid(E)
ohci_hcd(E)
pwm_sun4i(E)
musb_hdrc(E)
rc_core(E)
videobuf2_common(E)
ehci_hcd(E)
sun4i_drm(E)
sun4i_drm_hdmi(E)
udc_core(E)
sunxi_mmc(E)
sun4i_frontend(E)
cec(E)
usbcore(E)
sunxi_wdt(E)
libdes(E)
sun4i_tcon(E)
sg(E)
sun8i_tcon_top(E)
drm_kms_helper(E)
display_connector(E)
drm(E)
leds_gpio(E)
cpufreq_dt(E)
ext4(E)
crc16(E)
mbcache(E)
jbd2(E)
crc32c_generic(E)
sd_mod(E)
t10_pi(E)
crc_t10dif(E)
crct10dif_generic(E)
crct10dif_common(E)
pinctrl_axp209(E)
ahci_sunxi(E)
libahci_platform(E)
libahci(E)
libata(E)
i2c_mv64xxx(E)
scsi_mod(E)
phy_sun4i_usb(E)

** PCI devices:

** USB devices:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 5.9.0-0.bpo.5-armmp-lpae (SMP w/2 CPU cores)
Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.133+deb10u1
ii  kmod                                    26-1
ii  linux-base                              4.6

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae recommends:
pn  apparmor             <none>
ii  firmware-linux-free  3.4

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.9           <none>

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
ii  firmware-brcm80211        20200918-1~bpo10+1
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#980539: linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings "Rob J. Epping" <epping@renf.us> - 2021-01-20 12:10 +0100
  Bug#980539: sun4i_codec kernel warnings due to missing card->owner Salvatore Bonaccorso <carnil@debian.org> - 2021-03-27 12:40 +0100
  Processed: Re: Bug#980539: sun4i_codec kernel warnings due to  missing card->owner "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-27 12:40 +0100
  Processed: Re: Bug#980539: sun4i_codec kernel warnings due to  missing card->owner "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-27 12:40 +0100

csiph-web