[lvc-project] [PATCH v2] ALSA: hpi: Check transport errors during HPI6000 adapter initialization

Takashi Iwai tiwai at suse.de
Mon Jul 13 13:02:22 MSK 2026


On Wed, 08 Jul 2026 16:11:44 +0200,
Evgenii Burenchev wrote:
> 
> create_adapter_obj() retrieves adapter information by calling
> hpi6000_message_response_sequence(). This function reports transport-level
> errors through its return value and DSP-reported errors via hr0.error.
> 
> The current code only checks hr0.error, causing transport-level errors to
> be ignored. As a result, adapter initialization may continue with an
> invalid response.
> 
> Check the return value of hpi6000_message_response_sequence() before
> examining hr0.error.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Fixes: 719f82d3987a ("ALSA: Add support of AudioScience ASI boards")
> Signed-off-by: Evgenii Burenchev <evg28bur at yandex.ru>

Applied to for-next branch.  Thanks.


Takashi



More information about the lvc-project mailing list