summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/sof_nau8825.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-11-17 13:32:23 +0300
committerMark Brown <broonie@kernel.org>2022-11-17 16:58:43 +0300
commit82b21ca1912723a53534086864ee0daceb604cb5 (patch)
tree8bcf315a8c5db88873d893b0acf46220c2e6ae16 /sound/soc/intel/boards/sof_nau8825.c
parent6b6ab406cedaf70f58961d4ea82e88e65e721d06 (diff)
downloadlinux-82b21ca1912723a53534086864ee0daceb604cb5.tar.xz
ASoC: SOF: probes: Check ops before memory allocation
We may check ops before spending resources on memory allocation. While at it, utilize dev_get_platdata() helper. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20221117103223.74425-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_nau8825.c')
0 files changed, 0 insertions, 0 deletions