diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-03-07 18:37:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-07 16:47:01 +0000 |
commit | 6c023ad32b192dea51a4f842cc6ecf89bb6238c9 (patch) | |
tree | ead0fb82fa3858ee6dc6beca64b5716eb2074fc1 /samples/auxdisplay | |
parent | 5b876c340c63e2fabce003b4fb31040517ab1e10 (diff) | |
download | linux-stable-6c023ad32b192dea51a4f842cc6ecf89bb6238c9.tar.gz linux-stable-6c023ad32b192dea51a4f842cc6ecf89bb6238c9.tar.bz2 linux-stable-6c023ad32b192dea51a4f842cc6ecf89bb6238c9.zip |
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>
Diffstat (limited to 'samples/auxdisplay')
0 files changed, 0 insertions, 0 deletions