• Mauro Carvalho Chehab's avatar
    V4L/DVB (7748): tuner-core: some adjustments at tuner logs, if debug enabled · b9ef6bbb
    Mauro Carvalho Chehab authored
    set_addr log were almost useless: discarded SET_TYPE_ADDR commands weren't
    This patch changed set_addr printk to print a message only if set_addr is
    It also fix printk at set_type, since, if an attach were failing, nothing
    were reported.
    With the current code, working or not, a call to set_addr will produce a debug
    also, set_type() were producing a false error message on tuner_xc2028, since
    it were requesting for setting a frequency on a place where firmware name
    weren't set yet.
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
tuner-core.c 32.5 KB