>+ 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