dmaengine: bcm2835: set residue_granularity field
authorMartin Sperl <kernel@martin.sperl.org>
Wed, 16 Mar 2016 19:24:55 +0000 (12:24 -0700)
committerVinod Koul <vinod.koul@intel.com>
Fri, 15 Apr 2016 04:27:21 +0000 (09:57 +0530)
commit0fa5867e6a2c6119fac35b8b710bec87b4598940
treeb728bd2b06bd8e516e98c2123b97208998901db6
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
dmaengine: bcm2835: set residue_granularity field

bcm2835-dma supports residue reporting at burst level but didn't report
this via the residue_granularity field.

See also:
https://github.com/raspberrypi/linux/commit/b015555327afa402f70ddc86e3632f59df1cd9d7
for the downstream patch.

Signed-off-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/bcm2835-dma.c