~ubuntu-branches/ubuntu/trusty/linux-lts-vivid/trusty-security

« back to all changes in this revision

Viewing changes to drivers/gpu/drm/i915/intel_dsi_panel_vbt.c

  • Committer: Package Import Robot
  • Author(s): Brad Figg, Brad Figg, Upstream Kernel Changes
  • Date: 2016-03-17 10:18:03 UTC
  • mfrom: (21.1.16 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20160317101803-6otuv8kdfrimn5sh
Tags: 3.19.0-58.64~14.04.1
[ Brad Figg ]

* Release Tracking Bug
  - LP: #1557870

[ Upstream Kernel Changes ]

* Revert "Revert "af_unix: Revert 'lock_interruptible' in stream receive
  code""

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
        gpio = *data++;
172
172
 
173
173
        /* pull up/down */
174
 
        action = *data++;
 
174
        action = *data++ & 1;
 
175
 
 
176
        if (gpio >= ARRAY_SIZE(gtable)) {
 
177
                DRM_DEBUG_KMS("unknown gpio %u\n", gpio);
 
178
                goto out;
 
179
        }
175
180
 
176
181
        function = gtable[gpio].function_reg;
177
182
        pad = gtable[gpio].pad_reg;
190
195
        vlv_gpio_nc_write(dev_priv, pad, val);
191
196
        mutex_unlock(&dev_priv->dpio_lock);
192
197
 
 
198
out:
193
199
        return data;
194
200
}
195
201