diff options
| author | Takashi Iwai <tiwai@suse.de> | 2025-06-13 10:15:30 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-06-13 11:52:43 +0200 |
| commit | d0630a0b80c08530857146e3bf183a7d6b743847 (patch) | |
| tree | 00d10b9578206a5e7a0e76fbb8e52b452c14fe1c /rust/kernel/static_assert.rs | |
| parent | 84fc8896f0d9d1c075e0e08a416faedbd73907fa (diff) | |
ALSA: usb-audio: Fix build with CONFIG_INPUT=n
The recent addition of DualSense mixer quirk relies on the input
device handle, and the build can fail if CONFIG_INPUT isn't set.
Put (rather ugly) workarounds to wrap with IS_REACHABLE() for avoiding
the build error.
Fixes: 79d561c4ec04 ("ALSA: usb-audio: Add mixer quirk for Sony DualSense PS5")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506130733.gnPKw2l3-lkp@intel.com/
Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patch.msgid.link/20250613081543.7404-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'rust/kernel/static_assert.rs')
0 files changed, 0 insertions, 0 deletions
