1. 17 5月, 2018 3 次提交
  2. 04 5月, 2018 1 次提交
  3. 20 8月, 2017 1 次提交
  4. 30 7月, 2017 2 次提交
  5. 15 4月, 2017 1 次提交
  6. 20 9月, 2016 5 次提交
  7. 28 6月, 2016 3 次提交
  8. 17 6月, 2016 2 次提交
  9. 14 4月, 2016 15 次提交
  10. 19 2月, 2016 4 次提交
  11. 17 7月, 2015 1 次提交
  12. 24 3月, 2015 1 次提交
  13. 17 7月, 2014 1 次提交
    • L
      [media] v4l: vsp1: Setup control handler automatically at stream on time · 960de2cf
      Laurent Pinchart 提交于
      When setting a control directly on a subdev node the VSP1 driver doesn't
      guarantee that the device is powered on. This leads to crashes when the
      control handlers writes to hardware registers. One easy way to fix this
      is to ensure that the device gets powered on when a subdev node is
      opened. However, this consumes power unnecessarily, as there's no need
      to power the device on when setting formats on the pipeline.
      Furthermore, control handler setup at entity init time suffers from the
      same problem as the device isn't powered on easier.
      
      Fix this by extend the entity base object to setup the control handler
      automatically when starting the stream. Entities must then skip writing
      to registers in the set control handler when not streaming, which can be
      tested with the new vsp1_entity_is_streaming() helper function.
      Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      960de2cf