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)
commitcad372f1be5ef7cf14b980e679fbf30430dc241f
tree06cb15f62f07fe2feeb5a40b7a2cbdfa95146a9e
parentd6eb9e3ec78c98324097bab8eea266c3bb0d0ac7
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