We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371f5ed commit 9669425Copy full SHA for 9669425
sound/soc/apple/aop_audio.rs
@@ -665,11 +665,7 @@ impl platform::Driver for SndSocAopDriver {
665
.get_child_by_name(c_str!("audio"))
666
.ok_or(EIO)?;
667
let audio = *module_parameters::mic_check_123.get() != 0;
668
- if !audio
669
- && pdev
670
- .as_ref()
671
- .property_present(c_str!("apple,no-beamforming"))
672
- {
+ if !audio && of.property_present(c_str!("apple,no-beamforming")) {
673
return Err(ENODEV);
674
}
675
let data = SndSocAopData::new(dev, adata, svc, of)?;
0 commit comments