• Andreas Matthies's avatar
    [media] tda10071: change firmware download condition · aea28ade
    Andreas Matthies authored
    Reading firmware status register to detect whether firmware is
    running or not didn't worked 100% reliably. That register was
    likely set by firmware itself which means it could not contain
    reasonable values until firmware is up and running. Usually it
    just worked as some garbage value was returned accidentally but it
    appears that in some cases returned garbage value was 0x00 which
    was considered "firmware is up and running" by the driver and
    firmware loading was skipped leaving device to non-working state.
    Fix problem by removing unreliable check and let the driver keep
    count whether firmware is loaded or not.
    Signed-off-by: default avatarAndreas Matthies <a.matthies@gmx.net>
    Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
    Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
    aea28ade
tda10071.c 27.2 KB