Skip to content

Commit 652c0ed

Browse files
committed
fixup! ASoC: apple: Add aop_audio driver.
Fix for core:ffi - > kernel::ffi changes. Signed-off-by: Janne Grunau <[email protected]>
1 parent a792491 commit 652c0ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/apple/aop_audio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,9 @@ impl SndSocAopData {
383383
#[repr(transparent)]
384384
struct SndSocAopDriver(*mut bindings::snd_card);
385385

386-
fn copy_str(target: &mut [i8], source: &[u8]) {
386+
fn copy_str(target: &mut [u8], source: &[u8]) {
387387
for i in 0..source.len() {
388-
target[i] = source[i] as _;
388+
target[i] = source[i];
389389
}
390390
}
391391

0 commit comments

Comments
 (0)