From: Lars-Peter Clausen Date: Mon, 29 Dec 2014 18:41:43 +0000 (+0100) Subject: ALSA: pcm: Simplify params_period_bytes() X-Git-Tag: fixes-v4.0-rc1~146^2~104^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd9978f1d3dbb9596a7ab9c652cb0d9b355489b5;p=pandora-kernel.git ALSA: pcm: Simplify params_period_bytes() The hw_params struct has a parameter that contains the period size in bytes. This can be used instead of deriving the value from other parameters. This is similar to e.g. params_buffer_bytes() Signed-off-by: Lars-Peter Clausen Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed