<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/dma/k3dma.c, branch linux-4.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-08-05T05:23:52Z</updated>
<entry>
<title>dmaengine: Add an enum for the dmaengine alignment constraints</title>
<updated>2015-08-05T05:23:52Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2015-07-20T08:41:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77a68e56aae141d3e9c740a0ac43362af75d4890'/>
<id>urn:sha1:77a68e56aae141d3e9c740a0ac43362af75d4890</id>
<content type='text'>
Most drivers need to set constraints on the buffer alignment for async tx
operations. However, even though it is documented, some drivers either use
a defined constant that is not matching what the alignment variable expects
(like DMA_BUSWIDTH_* constants) or fill the alignment in bytes instead of
power of two.

Add a new enum for these alignments that matches what the framework
expects, and convert the drivers to it.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'topic/alloc_removal' into for-linus</title>
<updated>2015-03-18T17:16:19Z</updated>
<author>
<name>Vinod Koul</name>
</author>
<published>2015-03-18T17:16:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=381a3c4a33bf33943ed3791bd8797d8d8490b4fd'/>
<id>urn:sha1:381a3c4a33bf33943ed3791bd8797d8d8490b4fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dmaengine: k3dma: remove device_alloc_chan_resources handler</title>
<updated>2015-03-18T17:15:11Z</updated>
<author>
<name>Vinod Koul</name>
</author>
<published>2015-03-16T08:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c509c495c0aca237cb7e3a38cb1fa90ff3a0bdfa'/>
<id>urn:sha1:c509c495c0aca237cb7e3a38cb1fa90ff3a0bdfa</id>
<content type='text'>
Now that device_alloc_chan_resources handler in not mandatory, remove dummy
implementations

Acked-by: Zhangfei Gao &lt;zhangfei.gao@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: constify of_device_id array</title>
<updated>2015-03-18T16:43:14Z</updated>
<author>
<name>Fabian Frederick</name>
</author>
<published>2015-03-16T19:17:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57c0342239b028db54741209a051a4d5f7c857e7'/>
<id>urn:sha1:57c0342239b028db54741209a051a4d5f7c857e7</id>
<content type='text'>
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick &lt;fabf@skynet.be&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: k3: fix duplicate function definition</title>
<updated>2015-01-13T15:50:09Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2015-01-13T13:23:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10b3e223174f28eabadab18b5dfa36021d956a2d'/>
<id>urn:sha1:10b3e223174f28eabadab18b5dfa36021d956a2d</id>
<content type='text'>
Commit db08425ebd51f ("dmaengine: k3: Split device_control") introduced
two new helper functions, which unfortunately have the same names
as the existing suspend/resume functions, resulting in a build error
when CONFIG_PM_SLEEP is enabled:

drivers/dma/k3dma.c:823:12: error: conflicting types for 'k3_dma_resume'
 static int k3_dma_resume(struct device *dev)
            ^
drivers/dma/k3dma.c:625:12: note: previous definition of 'k3_dma_resume' was here
 static int k3_dma_resume(struct dma_chan *chan)
            ^

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: db08425ebd51f ("dmaengine: k3: Split device_control")
Reported-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: k3: Fix duplicated function name and allmodconfig build</title>
<updated>2015-01-13T15:49:44Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2014-12-29T13:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1a9becbf35899cd44ac1bea4a04f98e5adc9ffb'/>
<id>urn:sha1:a1a9becbf35899cd44ac1bea4a04f98e5adc9ffb</id>
<content type='text'>
While splitting device control in db08425ebd51 ("dmaengine: k3:
Split device_control") new function with the same 'k3_dma_resume' name
was added, leading to build error:

drivers/dma/k3dma.c:823:12: error: conflicting types for ‘k3_dma_resume’
drivers/dma/k3dma.c:625:12: note: previous definition of ‘k3_dma_resume’ was here

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: k3: Split device_control</title>
<updated>2014-12-22T06:58:59Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2014-11-17T13:42:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db08425ebd51f3b4c73b0698ca3b0173ebd106be'/>
<id>urn:sha1:db08425ebd51f3b4c73b0698ca3b0173ebd106be</id>
<content type='text'>
Split the device_control callback of the Hisilicon K3 DMA driver to make use
of the newly introduced callbacks, that will eventually be used to retrieve
slave capabilities.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: k3dma: Add CONFIG_PM_SLEEP to suspend/resume functions</title>
<updated>2014-11-17T08:20:45Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2014-10-27T12:36:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af2d3139e19fd7da9a5d300a83812616b2d6694c'/>
<id>urn:sha1:af2d3139e19fd7da9a5d300a83812616b2d6694c</id>
<content type='text'>
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
build warning when CONFIG_PM_SLEEP is not selected. This is because
sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when
the CONFIG_PM_SLEEP is enabled.

drivers/dma/k3dma.c:790:12: warning: 'k3_dma_suspend' defined but not used [-Wunused-function]
drivers/dma/k3dma.c:806:12: warning: 'k3_dma_resume' defined but not used [-Wunused-function]

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Acked-by: Zhangfei Gao &lt;zhangfei.gao@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: Remove .owner field for driver</title>
<updated>2014-11-06T06:24:18Z</updated>
<author>
<name>Kiran Padwal</name>
</author>
<published>2014-09-24T06:39:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd166280b7a1d74248897b48aea39217015ee8c2'/>
<id>urn:sha1:cd166280b7a1d74248897b48aea39217015ee8c2</id>
<content type='text'>
There is no need to init .owner field.

Based on the patch from Peter Griffin &lt;peter.griffin@linaro.org&gt;
"mmc: remove .owner field for drivers using module_platform_driver"

This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."

Signed-off-by: Kiran Padwal &lt;kiran.padwal@smartplayin.com&gt;
[for nvidia]
Acked-by: Thierry Reding &lt;treding@nvidia.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: k3: Remove chancnt affectations</title>
<updated>2014-11-06T06:02:45Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2014-10-16T09:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25741ff296f0a1d1fdd3e6f0923e5b4e79627037'/>
<id>urn:sha1:25741ff296f0a1d1fdd3e6f0923e5b4e79627037</id>
<content type='text'>
chanctnt is already filled by dma_async_device_register, which uses the channel
list to know how much channels there is.

Since it's already filled, we can safely remove it from the drivers' probe
function.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
</feed>
