Skip to content

miscellaneous changes

Victor Toso linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4af9033: Remove duplicated switch statementdrivers/media/dvb-frontends/af9033.c+2 -100 replies
2/4media: dvb: Use WARM definition from identify_state()drivers/media/usb/dvb-usb-v2/dvb_usb_core.c+2 -40 replies
3/4media: dvb-usb-v2: remove __func__ from dev_dbg()drivers/media/usb/dvb-usb-v2/dvb_usb_core.c drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c+55 -572 replies
4/4media: dvb_frontend: remove __func__ from dev_dbg()drivers/media/dvb-core/dvb_frontend.c+69 -731 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH dvb v1 0/4] miscellaneous changes

From: Victor Toso <[email protected]>

Hi,

As mentioned on IRC earlier [0], I'm trying to learn a bit about Kernel and I'm using a usb dongle for dvb-t, which seems to work fine, for that.

Two patches are related to dynamic debug that I have enabled and it ends up printing doubled function name. The other two patches are minor code changes that I did while reading code path related to the device I own.

Let me know if those make sense to you or not.

For now, I have also two questions, both made on IRC #linuxtv but got no replies so I hope it is fine to ask here too (otherwise, let me know where I can ask!)

1) If I do remove my usb device, I see that several modules are kept loaded. I'm wondering if this is intentional or a bug. I can modprobe -r all of them just fine, no one is using them.

2) What is the correct way to verify with v4l2-compliance tool, the /dev/dvb/adapater#/* devices? I tried a few combinations but I'm not trusting the results so far.

[0] https://linuxtv.org/irc/irclogger_log/linuxtv?date=2018-10-25,Thu&sel=6#l2

Ah, yes, this is my first contribution to the kernel, I checked with scripts/checkpatch.pl but I'm welcome to advices if you see the need!

Cheers,

Victor Toso (4):
af9033: Remove duplicated switch statement
media: dvb: Use WARM definition from identify_state()
media: dvb-usb-v2: remove __func__ from dev_dbg()
media: dvb_frontend: remove __func__ from dev_dbg()

 drivers/media/dvb-core/dvb_frontend.c       | 142 ++++++++++----------
 drivers/media/dvb-frontends/af9033.c        |  12 +-
 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 111 ++++++++-------
 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c  |   7 +-
 4 files changed, 128 insertions(+), 144 deletions(-)
Signature · 1 line
2.17.2