rkfbsys:fix bug in set_dsp_lut
authoryxj <yxj@rock-chips.com>
Tue, 14 Aug 2012 03:12:33 +0000 (11:12 +0800)
committeryxj <yxj@rock-chips.com>
Wed, 29 Aug 2012 07:45:25 +0000 (15:45 +0800)
drivers/video/rockchip/rkfb_sysfs.c

index b0588c6e7b5ecff0e7dbf667bc78bac5c2243e9d..97401d2a49d8b5a6b1b5626b2947722cdefadf54 100644 (file)
@@ -263,6 +263,7 @@ static ssize_t set_dsp_lut(struct device *dev,struct device_attribute *attr,
        for(i=0;i<256;i++)
        {
                temp = simple_strtoul(start,NULL,10);
+               dsp_lut[i] = temp;
                do
                {
                        start++;