lkml.org 
[lkml]   [2011]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 07/18] gma500: Add Moorestown backlight support
    On Wed, Mar 30, 2011 at 10:00:05AM +0100, Alan Cox wrote:

    > + /* Percentage 1-100% being valid */
    > + if (level < 1)
    > + level = 1;

    I know you're not actually changing anything here, but opregion supports
    requesting brightnesses between 0 and 255 - it'd be easier if we only
    had one level of scaling, rather than having to map that to a percentage
    only for it to be remapped to the hardware.

    --
    Matthew Garrett | mjg59@srcf.ucam.org


    \
     
     \ /
      Last update: 2011-03-30 12:35    [W:0.018 / U:148.500 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site