forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformSDWApplies to SoundWire bus for codec connectionApplies to SoundWire bus for codec connectionSDW_DEVSDW bug reproduced by developers, fix WIPSDW bug reproduced by developers, fix WIPbugSomething isn't workingSomething isn't working
Description
Describe the bug
With sof and master pm runtime disabled, unplug/plug in headphone dmesg will show "IO error in rt711_jack_detect_handler, ret -16"
To Reproduce
- Disable master and sof runtime PM status via add sof-pci-debug=1 and sdw_md_flags=0x01000001, then reboot to make it work.
- Open one terminal and run command "dmesg -w"
- Plug in/unlug headphone, and check in terminal
Reproduced rate
100%
Expected result
Should not show error info
Actual result
Dmesg shows "IO error in rt711_jack_detect_handler, ret -16" after unplug or plug in headphone
Dmesg
[ 88.204121] intel-sdw sdw-master-0: Slave 1 status attached, was alert, ignoring
[ 88.204122] intel-sdw sdw-master-0: Updating Slave 1 status
[ 88.204123] intel-sdw sdw-master-0: sdw_handle_slave_status: Updating Slave 1 status done
[ 88.204125] intel-sdw sdw-master-0: sdw_handle_slave_status: end
[ 88.455320] IO error in rt711_jack_detect_handler, ret -16
[ 91.519314] intel-sdw sdw-master-0: Slave status change
[ 91.519324] intel-sdw sdw-master-0: sdw_handle_slave_status: start
[ 91.519485] rt711 sdw:0:25d:711:0: Slave impl defined interrupt
[ 91.519491] rt711 sdw:0:25d:711:0: rt711_interrupt_callback control_port_stat=4
[ 91.519693] intel-sdw sdw-master-0: Updating Slave 1 status
[ 91.519703] intel-sdw sdw-master-0: sdw_handle_slave_status: Updating Slave 1 status done
[ 91.519708] intel-sdw sdw-master-0: sdw_handle_slave_status: end
[ 91.519740] intel-sdw sdw-master-0: Slave status change
[ 91.519745] intel-sdw sdw-master-0: sdw_handle_slave_status: start
Test recipe:
kernel: https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: add887e
FW: https://github.com/thesofproject/sof/commits/master commit: 65de27d
tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
platform: CML-U Laptop with codec ALC711, RT1308, RT715 in SDW mode
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformSDWApplies to SoundWire bus for codec connectionApplies to SoundWire bus for codec connectionSDW_DEVSDW bug reproduced by developers, fix WIPSDW bug reproduced by developers, fix WIPbugSomething isn't workingSomething isn't working