projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'topic/hda' into for-next
[firefly-linux-kernel-4.4.55.git]
/
sound
/
pci
/
hda
/
hda_controller.h
diff --git
a/sound/pci/hda/hda_controller.h
b/sound/pci/hda/hda_controller.h
index 3d26e613ab6768764ccded38bfd1506241cc0d33..314105cd5061e9efff684709e8177f2e92ded195 100644
(file)
--- a/
sound/pci/hda/hda_controller.h
+++ b/
sound/pci/hda/hda_controller.h
@@
-187,7
+187,7
@@
struct azx {
snd_hdac_chip_readb(azx_bus(chip), reg)
#define azx_has_pm_runtime(chip) \
snd_hdac_chip_readb(azx_bus(chip), reg)
#define azx_has_pm_runtime(chip) \
- (
!AZX_DCAPS_PM_RUNTIME || ((chip)->driver_caps & AZX_DCAPS_PM_RUNTIME)
)
+ (
(chip)->driver_caps & AZX_DCAPS_PM_RUNTIME
)
/* PCM setup */
static inline struct azx_dev *get_azx_dev(struct snd_pcm_substream *substream)
/* PCM setup */
static inline struct azx_dev *get_azx_dev(struct snd_pcm_substream *substream)