Re: [PATCH v3] Platform: goldfish: goldfish_pipe.c: Add DMA support using managed version

2016-01-28 Thread Greg Kroah-Hartman
On Sat, Jan 23, 2016 at 02:41:25AM +0530, Shraddha Barke wrote: > setup_access_params_addr has 2 goals- > > -Initialize the access_params field so that it can be used to send and read > commands from the device in access_with_param > -Get a bus address for the allocated memory to transfer to the d

[PATCH v3] Platform: goldfish: goldfish_pipe.c: Add DMA support using managed version

2016-01-22 Thread Shraddha Barke
setup_access_params_addr has 2 goals- -Initialize the access_params field so that it can be used to send and read commands from the device in access_with_param -Get a bus address for the allocated memory to transfer to the device. Replace the combination of devm_kzalloc and _pa() with dmam_alloc_