• Robert Schlabbach's avatar
    media: si2157: Add optional firmware download · 48dde945
    Robert Schlabbach authored
    The Si2157 (A30) is functional with the ROM firmware 3.0.5, but can also
    be patched at runtime, e.g. to firmware 3.1.3. However, although a
    firmware filename for its firmware patch exists, that has only been used
    for the Si2177 (A30) so far (which indeed takes the binary identical
    firmware patch).
    
    Add support for downloading firmware patches into the Si2157 (A30), but
    make it optional, so that initialization can succeed with and without a
    firmware patch being available. Keep the use of request_firmware() for
    this purpose rather than firmware_request_nowarn(), so that the warning
    in the log makes users aware that it is possible to provide a firmware
    for this tuner.
    
    The firmware patch is probably also optional for other (if not all)
    tuners supported by the driver, but since I do not have the others
    available to test, they are kept mandatory for now to avoid regressions.
    Signed-off-by: default avatarRobert Schlabbach <robert_s@gmx.net>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
    48dde945
si2157.c 23.8 KB