• Chris Rorvick's avatar
    ALSA: line6: Add delay before reading status · e64e94df
    Chris Rorvick authored
    The device indicates the result of a read/write operation by making the
    status available on a subsequent request from the driver.  This is not
    ready immediately, though, so the driver is currently slamming the
    device with hundreds of pointless requests before getting the expected
    response.  Add a two millisecond delay before each attempt.  This is
    approximately the behavior observed with version 4.2.7.1 of the Windows
    driver.
    Signed-off-by: default avatarChris Rorvick <chris@rorvick.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    e64e94df
driver.c 14.8 KB