[alsa-devel] [PATCH 20/20] ASoC: davinci-mcasp: Change IO functions parameter list

Mark Brown broonie at kernel.org
Thu Nov 14 12:54:40 CET 2013


On Thu, Nov 14, 2013 at 11:35:36AM +0200, Peter Ujfalusi wrote:
> Instead of passing __iomem address (mcasp->base + register_offset) pass
> the main mcasp structure and only access the mcasp->base in the low level
> IO functions.
> In most cases this helps with code readability and it will make it easier
> to switch over to regmap in the future.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131114/7dc07298/attachment.sig>


More information about the Alsa-devel mailing list