update i2s
authorfang <fang@fang-desktop.(none)>
Sat, 18 Dec 2010 02:46:25 +0000 (10:46 +0800)
committerfang <fang@fang-desktop.(none)>
Sat, 18 Dec 2010 02:46:25 +0000 (10:46 +0800)
arch/arm/mach-rk29/devices.c

index b66ea3a372795afaf88f056e7af07a240ea6a6f0..b4011611657bf7cf21d8fc78204f46df928f7e94 100755 (executable)
@@ -451,7 +451,7 @@ struct platform_device rk29_device_nand = {
 static struct resource rk29_iis_2ch_resource[] = {
         [0] = {
                 .start = RK29_I2S_2CH_PHYS,
-                .end   = RK29_I2S_2CH_PHYS + RK29_I2S_2CH_SIZE,
+                .end   = RK29_I2S_2CH_PHYS + RK29_I2S_2CH_SIZE -1,
                 .flags = IORESOURCE_MEM,
         },
         [1] = {
@@ -481,7 +481,7 @@ struct platform_device rk29_device_iis_2ch = {
 static struct resource rk29_iis_8ch_resource[] = {
         [0] = {
                 .start = RK29_I2S_8CH_PHYS,
-                .end   = RK29_I2S_8CH_PHYS + RK29_I2S_8CH_SIZE,
+                .end   = RK29_I2S_8CH_PHYS + RK29_I2S_8CH_SIZE - 1,
                 .flags = IORESOURCE_MEM,
         },
         [1] = {