diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-01-10 22:57:26 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-01-14 07:23:12 +0100 |
commit | a2cff9ee4b0200b675ad2dbe00081ff118b6b8a9 (patch) | |
tree | 20621cb32ac86a84817059cf16c3ea44b68a81ee /drivers/pinctrl | |
parent | soundwire: stream: remove redundant pr_err traces (diff) | |
download | linux-a2cff9ee4b0200b675ad2dbe00081ff118b6b8a9.tar.xz linux-a2cff9ee4b0200b675ad2dbe00081ff118b6b8a9.zip |
soundwire: cadence_master: filter out bad interrupts
If somehow we read the interrupt status while the IP is not powered
the result is probably undefined or 0xffffffff. We do know that some
of the bits are reserved and read as zero, so use as a filter to
discard invalid configurations.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200110215731.30747-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions