1. 21 12月, 2018 2 次提交
    • R
      fbdev: make FB_BACKLIGHT a tristate · b4a1ed0c
      Rob Clark 提交于
      BACKLIGHT_CLASS_DEVICE is already tristate, but a dependency
      FB_BACKLIGHT prevents it from being built as a module.  There
      doesn't seem to be any particularly good reason for this, so
      switch FB_BACKLIGHT over to tristate.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      Tested-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Simon Horman <horms+renesas@verge.net.au>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Ulf Magnusson <ulfalizer@gmail.com>
      Cc: Randy Dunlap <rdunlap@infradead.org>
      Cc: Hans de Goede <j.w.r.degoede@gmail.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      b4a1ed0c
    • D
      udlfb: fix some inconsistent NULL checking · c143a559
      Dan Carpenter 提交于
      In the current kernel, then kzalloc() can't fail for small allocations,
      but if it did fail then we would have a NULL dereference in the error
      handling.  Also in dlfb_usb_disconnect() if "info" were NULL then it
      would cause an Oops inside the unregister_framebuffer() function but it
      can't be NULL so let's remove that check.
      
      Fixes: 68a958a9 ("udlfb: handle unplug properly")
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Cc: Bernie Thompson <bernie@plugable.com>
      Cc: Mikulas Patocka <mpatocka@redhat.com>
      Cc: Alexey Khoroshilov <khoroshilov@ispras.ru>
      Cc: Colin Ian King <colin.king@canonical.com>
      Cc: Wen Yang <wen.yang99@zte.com.cn>
      [b.zolnierkie: added "Fixes:" tag]
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      c143a559
  2. 20 12月, 2018 1 次提交
  3. 17 12月, 2018 1 次提交
  4. 15 12月, 2018 19 次提交
  5. 14 12月, 2018 8 次提交
  6. 13 12月, 2018 9 次提交