]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Handle error from get_response bus ops directly
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Mar 2015 16:57:00 +0000 (17:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2015 12:54:57 +0000 (14:54 +0200)
commitf0d81b55ae347baa7763f7a1346c15eab547da1e
tree06cb15f62f07fe2feeb5a40b7a2cbdfa95146a9e
parent6d68432c2c22d9fb4c3d101fc307d3622c076142
ALSA: hda - Handle error from get_response bus ops directly

... and drop bus->rirb_error flag.  This makes the code simpler.

We treat -EAGAIN from get_response ops as a special meaning: it allows
the caller to retry after bus reset.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_controller.c