Skip to content

Commit

Permalink
[media] dvb-frontends/stv0367dd: code refactoring and fixups
Browse files Browse the repository at this point in the history
Fixup some minors and refactor code parts (e.g. statistics inquiry, DVBv5):
- get rid of unneeded omode enum and it's values, use fe_delivery_system
  values for this purpose
- make use of FE_* enums instead of raw hex values in read_status()
- define pr_fmt, remove module name from existing pr_* calls and improve
  verbosity
- refactor i2c read transfer into separate function, report read errors
- use errno defines for error reporting
- drop Log10x100() and utilise intlog10() from dvb_math for SNR math
- refactor read_* inquiry into DVBv5 and get_frontend(), slightly refactor
  snr inquiry
  • Loading branch information
herrnst committed Apr 8, 2016
1 parent 4616861 commit 8bda2c5
Showing 1 changed file with 145 additions and 113 deletions.

0 comments on commit 8bda2c5

Please sign in to comment.