Commit Graph

10 Commits

Author SHA1 Message Date
chs
fd34ea77eb remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
2017-06-01 02:45:05 +00:00
jmcneill
22ca8619b1 i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
2015-03-07 14:16:51 +00:00
jmcneill
76608f59e8 now that iic is a module, add "iic" dependency to iic drivers 2011-10-02 19:03:56 +00:00
jmcneill
9bd8d0664c lg3303 should depend on dtv_math, not xc3028 2011-08-09 10:54:22 +00:00
jmcneill
707c764851 add dtv_math.h 2011-08-09 10:53:09 +00:00
jmcneill
8b8276a7ab add lg3303_get_snr, lg3303_get_signal_strength, lg3303_get_ucblocks 2011-07-15 20:28:38 +00:00
jmcneill
13e60a5238 lg3303_set_modulation: program the requested modulation on every request 2011-07-15 10:10:35 +00:00
jmcneill
e9f578b3d5 if no carrier, other status fields are invalid 2011-07-15 03:29:23 +00:00
jmcneill
412242eb53 add a flags argument to lg3303, and use it for the caller to request
serial mpeg mode
2011-07-14 23:46:52 +00:00
jmcneill
9c53d3c419 add LGDT3303 tuner and XC3028L demod drivers 2011-07-11 18:00:06 +00:00