Re: [PATCH] ALSA: hda: Abort capability probe at invalid register read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>+		if (cur_cap == -1) {
>+			dev_dbg(bus->dev, "Invalid capability reg read\n");
>+			break;
>+		}

Since we already have a default case in the current code, can we use it ?
I am sending you a untested patch, as proposal.


Attachment: 0001-ALSA-hda-Abort-capability-probe-at-invalid-register-.patch
Description: 0001-ALSA-hda-Abort-capability-probe-at-invalid-register-.patch

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux