From: fang Date: Sat, 18 Dec 2010 02:46:25 +0000 (+0800) Subject: update i2s X-Git-Tag: firefly_0821_release~10923 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7335b9a602733d61ff3ceb9afd7bd447196767a;p=firefly-linux-kernel-4.4.55.git update i2s --- diff --git a/arch/arm/mach-rk29/devices.c b/arch/arm/mach-rk29/devices.c index b66ea3a37279..b4011611657b 100755 --- a/arch/arm/mach-rk29/devices.c +++ b/arch/arm/mach-rk29/devices.c @@ -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] = {