Skip to content

ALSA: ice1712: support the TerraTec PHASE 88

Davide Gironi linux-sound 1 version Applied

Status from this message: Applied both patches to for-next branch now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2ALSA: ice1712: add a board-specific EEPROM initialization hooksound/pci/ice1712/ews.c sound/pci/ice1712/ice1712.c sound/pci/ice1712/ice1712.h+37 -90 replies
2/2ALSA: ice1712: add TerraTec PHASE 88 supportsound/pci/ice1712/ews.c sound/pci/ice1712/ews.h+138 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] ALSA: ice1712: support the TerraTec PHASE 88

The TerraTec PHASE 88 uses different front-module hardware from the EWS88MT even though the ICE1712 driver identifies it as an EWS88MT variant. The PHASE 88's write-only expander does not respond at the EWS88MT addresses, and its EEPROM advertises a consumer AC'97 codec and one MIDI UART that are not representative of the board.

Changes since v1, following Takashi Iwai's review:

- Add an early, card-specific EEPROM initialization callback and move the existing DMX6Fire fixup out of generic chip initialization.
- Move the PHASE 88 AC'97 and second-MIDI UART EEPROM fixups into the EWS driver callback, which runs before generic hardware setup.
- Drop the consumer-capture NULL guard: the early EEPROM fixup prevents the nonexistent consumer PCM from being created in the first place.
- Use snd_ctl_boolean_mono_info for the Line/Mic boolean control and fix the PHASE 88 initialization indentation.
- Give TS88 its own model string, and update the PHASE 88 expander shadow only after a successful write so an I2C error cannot corrupt it.
- Updated comments style to fit better the other on the module.

The series has two patches: the callback/refactoring patch first, then the PHASE 88-specific changes.

Testing on the machine with two PHASE 88 racks.

The patch series applies
to the Linux 6.18.58 source. It was built and hardware-tested against the running Debian 6.12.113 kernel.

Thanks,
Davide Gironi