1. 12 6月, 2015 2 次提交
  2. 05 6月, 2015 6 次提交
    • T
      drm/panel: ld9040: Remove useless padding · 6343f22f
      Thierry Reding 提交于
      There's some useless padding in the struct spi_driver definition. Remove
      it since it serves no useful purpose.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      6343f22f
    • T
      drm/panel: Constify OF match tables · 1a8f9056
      Thierry Reding 提交于
      Both the Samsung LD9040 and Samsung S6E8AA0 panel drivers are missing
      a const qualifier for their OF match tables. This data is static and
      never changes, so can be read-only.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      1a8f9056
    • T
      drm/bridge: Remove stale ptn3460.h include · f3f375cd
      Thierry Reding 提交于
      This header file declares prototypes of functions that are no longer
      used. Remove this file and all references to it.
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      f3f375cd
    • G
      drm/bridge: ps8622: Include linux/gpio/consumer.h · dcd43d64
      Geert Uytterhoeven 提交于
      If GPIOLIB=n and asm-generic/gpio.h is not used:
      
          drivers/gpu/drm/bridge/ps8622.c: In function ‘ps8622_pre_enable’:
          drivers/gpu/drm/bridge/ps8622.c:368: error: implicit declaration of function ‘gpiod_set_value’
          drivers/gpu/drm/bridge/ps8622.c: In function ‘ps8622_probe’:
          drivers/gpu/drm/bridge/ps8622.c:584: error: implicit declaration of function ‘devm_gpiod_get’
          drivers/gpu/drm/bridge/ps8622.c:584: warning: assignment makes pointer from integer without a cast
          drivers/gpu/drm/bridge/ps8622.c:590: error: implicit declaration of function ‘gpiod_direction_output’
          drivers/gpu/drm/bridge/ps8622.c:596: warning: assignment makes pointer from integer without a cast
      
      Add the missing #include <linux/gpio/consumer.h> to fix this.
      
      Fixes: f1336e6afb ("drm/bridge: Add I2C based driver for ps8622/ps8625 bridge")
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      dcd43d64
    • G
      drm/bridge: ptn3460: Include linux/gpio/consumer.h · dad3c350
      Geert Uytterhoeven 提交于
      If GPIOLIB=n and asm-generic/gpio.h is not used:
      
          drivers/gpu/drm/bridge/ptn3460.c: In function ‘ptn3460_pre_enable’:
          drivers/gpu/drm/bridge/ptn3460.c:135: error: implicit declaration of function ‘gpiod_set_value’
          drivers/gpu/drm/bridge/ptn3460.c: In function ‘ptn3460_probe’:
          drivers/gpu/drm/bridge/ptn3460.c:333: error: implicit declaration of function ‘devm_gpiod_get’
          drivers/gpu/drm/bridge/ptn3460.c:333: warning: assignment makes pointer from integer without a cast
          drivers/gpu/drm/bridge/ptn3460.c:340: error: implicit declaration of function ‘gpiod_direction_output’
          drivers/gpu/drm/bridge/ptn3460.c:346: warning: assignment makes pointer from integer without a cast
      
      Add the missing #include <linux/gpio/consumer.h> to fix this.
      
      Fixes: af478d88 ("drm/bridge: ptn3460: use gpiod interface")
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      dad3c350
    • D
      drm/bridge: dw-hdmi: Return number of EDID modes · 6c7e66e6
      Doug Anderson 提交于
      The dw_hdmi_connector_get_modes() function accidentally forgets to
      return the number of modes it added, although it has this information
      stored in a local variable.  Let's fix that.
      
      Without this fix, drm_helper_probe_single_connector_modes_merge_bits()
      could get confused and always call drm_add_modes_noedid().  That's not
      right.
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Tested-by: NYakir Yang <ykk@rock-chips.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      6c7e66e6
  3. 22 5月, 2015 1 次提交
  4. 19 5月, 2015 2 次提交
  5. 15 5月, 2015 2 次提交
  6. 27 4月, 2015 1 次提交
  7. 25 4月, 2015 2 次提交
    • D
      platform/chrome: chromeos_laptop - instantiate Atmel at primary address · 96cba9b0
      Dmitry Torokhov 提交于
      The new Atmel MXT driver expects i2c client's address contain the
      primary (main address) of the chip, and calculates the expected
      bootloader address form the primary address. Unfortunately chrome_laptop
      does probe the devices and if touchpad (or touchscreen, or both) comes
      up in bootloader mode the i2c device gets instantiated with the
      bootloader address which confuses the driver.
      
      To work around this issue let's probe the primary address first. If the
      device is not detected at the primary address we'll probe alternative
      addresses as "dummy" devices. If any of them are found, destroy the
      dummy client and instantiate client with proper name at primary address
      still.
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      96cba9b0
    • H
      toshiba_acpi: Do not register vendor backlight when acpi_video bl is available · 358d6a2c
      Hans de Goede 提交于
      commit a39f46df ("toshiba_acpi: Fix regression caused by backlight extra
      check code") causes the backlight to no longer work on the Toshiba Z30,
      reverting that commit fixes this but restores the original issue fixed
      by that commit.
      
      Looking at the toshiba_acpi backlight code for a fix for this I noticed that
      the toshiba code is the only code under platform/x86 which unconditionally
      registers a vendor acpi backlight interface, without checking for acpi_video
      backlight support first.
      
      This commit adds the necessary checks bringing toshiba_acpi in line with the
      other drivers, and fixing the Z30 regression without needing to revert the
      commit causing it.
      
      Chances are that there will be some Toshiba models which have a non working
      acpi-video implementation while the toshiba vendor backlight interface does
      work, this commit adds an empty dmi_id table where such systems can be added,
      this is identical to how other drivers handle such systems.
      
      BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1206036
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=86521Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Reviewed-and-tested-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      358d6a2c
  8. 24 4月, 2015 13 次提交
  9. 23 4月, 2015 2 次提交
  10. 22 4月, 2015 9 次提交