diff options
author | Sameer Pujar <spujar@nvidia.com> | 2019-01-14 23:51:10 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-14 19:52:27 +0100 |
commit | b59c8e7a73160b11f99b9008a5f215dd54b9d581 (patch) | |
tree | 16864b2d1fa959a400427c3ffc5e83a8aed64c6a /mm/maccess.c | |
parent | 5dd3d271320d888bb708ca6252b8a9e416a7fe64 (diff) | |
download | linux-b59c8e7a73160b11f99b9008a5f215dd54b9d581.tar.bz2 |
ALSA: hda: add register offset for stripe control
bits 16:17 in SD_CTL register refer to stripe control. Added an
offset register(AZX_REG_SD_CTL_3B) to have exclusive read/write
of corresponding register byte. This helps to avoid unnecessary
32-bit read/write of SD_CTL whenever only stripe or other bits of
corresponding byte need to be updated. Also HD audio spec defines
SD_CTL as 3 byte register.
SD_CTL_STRIPE_MASK(0x3) can be used for stripe control programming
and when updating AZX_REG_SD_CTL_3B.
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions