]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: Intel: catpt: Simplify the RAM-navigation code
authorCezary Rojewski <cezary.rojewski@intel.com>
Wed, 3 Jun 2026 08:58:23 +0000 (10:58 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jun 2026 16:00:23 +0000 (17:00 +0100)
commitfa55ad6079b0cd4a974bc32ea2dcb98162f29c25
tree8e562411423417eb95ea254be5bb0bcea0a797a4
parenta88cd88eee750383be83013e1875fc0a6509d5bd
ASoC: Intel: catpt: Simplify the RAM-navigation code

Add catpt_iram_addr() to the catpt helpers family and replace all the
open arithmetics with them.  Makes it easier to understand the code.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260603085827.1964796-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/catpt/dsp.c
sound/soc/intel/catpt/registers.h