Message ID | 1430676910-30657-2-git-send-email-anarsoul@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
2015-05-04 3:15 GMT+09:00 Vasily Khoruzhick <anarsoul@gmail.com>: > Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> "Add DMA resources for SDI and I2S".,.. what for? why? The commit message would be appropriate place to put such details. The patch itself looks good. Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, May 4, 2015 at 6:45 AM, Krzysztof Kozlowski <k.kozlowski@samsung.com> wrote: > 2015-05-04 3:15 GMT+09:00 Vasily Khoruzhick <anarsoul@gmail.com>: >> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> > > "Add DMA resources for SDI and I2S".,.. what for? why? The commit > message would be appropriate place to put such details. Because SDI and I2S drivers need these resources to setup DMA channel properly. Would you like me to resend the patch with this explanation? > The patch itself looks good. > > Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > > Best regards, > Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2015-05-05 3:10 GMT+09:00 Vasily Khoruzhick <anarsoul@gmail.com>: > On Mon, May 4, 2015 at 6:45 AM, Krzysztof Kozlowski > <k.kozlowski@samsung.com> wrote: >> 2015-05-04 3:15 GMT+09:00 Vasily Khoruzhick <anarsoul@gmail.com>: >>> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> >> >> "Add DMA resources for SDI and I2S".,.. what for? why? The commit >> message would be appropriate place to put such details. > > Because SDI and I2S drivers need these resources to setup DMA channel properly. > Would you like me to resend the patch with this explanation? Yes, please resend. The new explanation above is sufficient. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 83c7d15..62edcab 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -564,6 +564,8 @@ void __init s3c_i2c7_set_platdata(struct s3c2410_platform_i2c *pd) #ifdef CONFIG_PLAT_S3C24XX static struct resource s3c_iis_resource[] = { [0] = DEFINE_RES_MEM(S3C24XX_PA_IIS, S3C24XX_SZ_IIS), + [1] = DEFINE_RES_DMA(DMACH_I2S_OUT), + [2] = DEFINE_RES_DMA(DMACH_I2S_IN), }; struct platform_device s3c_device_iis = { @@ -863,6 +865,7 @@ struct platform_device s3c_device_rtc = { static struct resource s3c_sdi_resource[] = { [0] = DEFINE_RES_MEM(S3C24XX_PA_SDI, S3C24XX_SZ_SDI), [1] = DEFINE_RES_IRQ(IRQ_SDI), + [2] = DEFINE_RES_DMA(DMACH_SDI), }; struct platform_device s3c_device_sdi = {
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> --- arch/arm/plat-samsung/devs.c | 3 +++ 1 file changed, 3 insertions(+)