ASoC: Intel: catpt: Carefully use PCI bitwise constants
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 7 Mar 2024 16:37:34 +0000 (18:37 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Mar 2024 16:47:01 +0000 (16:47 +0000)
commit6c023ad32b192dea51a4f842cc6ecf89bb6238c9
treeead0fb82fa3858ee6dc6beca64b5716eb2074fc1
parent5b876c340c63e2fabce003b4fb31040517ab1e10
ASoC: Intel: catpt: Carefully use PCI bitwise constants

PM constants for PCI devices are defined with bitwise annotation.
When used as is, sparse complains about that:

  .../catpt/dsp.c:390:9: warning: restricted pci_power_t degrades to integer
  .../catpt/dsp.c:414:9: warning: restricted pci_power_t degrades to integer

Force them to be u32 in the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://msgid.link/r/20240307163734.3852754-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/catpt/dsp.c