]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: txx9: don't work around too small resource_size_t
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Apr 2020 15:00:05 +0000 (17:00 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 19 Apr 2020 14:06:06 +0000 (16:06 +0200)
commit9221d637792324db73ba57c9d2c309ae11c56d25
tree126234e7b67abec2adafe2691174d5c460a78de9
parent8ad15daddfcbeb4e451b019c304bf1398447f908
ASoC: txx9: don't work around too small resource_size_t

The txx9 sound driver deends on HAS_TXX9_ACLC, which is only set for
three tx49xx SOCs, and thus always has a 64-bit phys_addr_t and
resource_size_t.  Instead of poking into ioremap internals to work
around a potentially too small resource_size_t just add a BUILD_BUG_ON
to catch such a case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
sound/soc/txx9/txx9aclc-ac97.c