1. 29 Mar, 2013 2 commits
    • Frank Schaefer's avatar
      [media] em28xx: separate sensor detection and initialization/configuration · 484fbbeb
      Frank Schaefer authored
      Sensor detection and initialization/configuration are currently mixed together.
      This works as long as all devices with a particular sensor are working with the
      same board configuration. In the long run, this will be not sufficient, so
      separate these both steps to make the code more flexible and future proof.
      This also makes the code more consistent, because the initialization of the
      MT9V011 sensor subdevice is already separated.
      Signed-off-by: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      484fbbeb
    • Frank Schaefer's avatar
      [media] em28xx: fix and separate the board hints for sensor devices · 2d466e11
      Frank Schaefer authored
      The current board hint code is mixed together with the sensor detection and
      initialization code. It actually selects a board depending on the detected
      sensor type only, with the result that 3 of the 6 webcam boards are currently
      dead.
      Separate it and move it to em28xx_hint_board() which already contains the board
      hints for analog capturing+TV and DVB devices.
      This way, we have all board hints at a common place which makes it easier
      to extend the code and reduces the risk of regressions.
      It also makes it possible again to use the boards EM2750_BOARD_DLCW_130,
      EM2820_BOARD_VIDEOLOGY_20K14XUSB and EM2860_BOARD_NETGMBH_CAM (using the module
      parameter "card").
      NOTE: the current board hint logic for webcams is preserved. Not more not less.
      Signed-off-by: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      2d466e11
  2. 28 Mar, 2013 7 commits
  3. 26 Mar, 2013 3 commits
  4. 25 Mar, 2013 28 commits