fix for fix keypad lighting up when screen backlight auto-adjusts

Change-Id: I61e987b4fcae277ab4a1ec6585b25255a445b238
tirimbino
codeworkx 13 years ago
parent 679d203f63
commit b20c536751
  1. 2
      exynos4/exynos4x12/liblights/lights.c

@ -126,7 +126,7 @@ static int set_light_backlight(struct light_device_t *dev,
struct light_state_t const *state)
{
int err = 0;
status int s_previous_brightness = -1;
static int s_previous_brightness = -1;
int brightness = rgb_to_brightness(state);
pthread_mutex_lock(&g_lock);

Loading…
Cancel
Save