1. 01 10月, 2015 2 次提交
  2. 11 8月, 2015 1 次提交
    • A
      [media] s5p-jpeg: Eliminate double kfree() · 7a1d4e7c
      Andrzej Pietrasiewicz 提交于
      video_unregister_device() calls device_unregister(), which calls
      put_device(), which calls kobject_put(), and if this is the last reference
      then kobject_release() is called, which calls kobject_cleanup(), which
      calls ktype's release method which happens to be device_release() in this
      case, which calls dev->release(), which happens to be
      v4l2_device_release() in this case, which calls vdev->release(), which
      happens to be video_device_release(). But video_device_release() is
      called explicitly both in error recovery path of s5p_jpeg_probe() and
      in s5p_jpeg_remove(). The pointers in question are not nullified between
      the two calls, so this is harmful.
      
      This patch fixes the driver so that video_device_release() is not called
      twice for the same object.
      Signed-off-by: NAndrzej Pietrasiewicz <andrzej.p@samsung.com>
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7a1d4e7c
  3. 07 4月, 2015 2 次提交
  4. 04 3月, 2015 1 次提交
  5. 05 12月, 2014 1 次提交
  6. 02 12月, 2014 1 次提交
  7. 24 10月, 2014 2 次提交
  8. 20 10月, 2014 1 次提交
  9. 27 8月, 2014 1 次提交
    • M
      [media] s5p-jpeg: get rid of some warnings · af425be8
      Mauro Carvalho Chehab 提交于
      Declare this as static:
      
      drivers/media/platform/s5p-jpeg/jpeg-core.c:732:6: warning: no previous prototype for 'exynos4_jpeg_set_huff_tbl' [-Wmissing-prototypes]
       void exynos4_jpeg_set_huff_tbl(void __iomem *base)
            ^
      
      And don't compile this dead code, while not needed:
      drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c:236:14: warning: no previous prototype for 'exynos3250_jpeg_get_y' [-Wmissing-prototypes]
       unsigned int exynos3250_jpeg_get_y(void __iomem *regs)
                    ^
      drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c:241:14: warning: no previous prototype for 'exynos3250_jpeg_get_x' [-Wmissing-prototypes]
       unsigned int exynos3250_jpeg_get_x(void __iomem *regs)
                    ^
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      af425be8
  10. 31 7月, 2014 7 次提交
  11. 14 5月, 2014 8 次提交
  12. 23 4月, 2014 1 次提交
  13. 06 3月, 2014 2 次提交
  14. 04 2月, 2014 1 次提交
  15. 18 12月, 2013 9 次提交