Additional fix to the ravenna-alsa-lkm-arm-32bit.patch
This commit is contained in:
parent
97a0a0dccc
commit
fa7b64038e
@ -38,18 +38,20 @@ index 5a160e4..a5c84e4 100644
|
||||
i64DeltaSAC = ui64UsedSAC - ui64GlobalSAC;
|
||||
//MTAL_DP("i64DeltaSAC %I64u playout delay %u, frame size: %u\n", i64DeltaSAC, pRTP_stream_info->m_ui32PlayOutDelay, pManager->get_frame_size(pManager->user));
|
||||
diff --git a/driver/audio_driver.c b/driver/audio_driver.c
|
||||
index a04ec21..4569f20 100644
|
||||
index a04ec21..cb8b056 100644
|
||||
--- a/driver/audio_driver.c
|
||||
+++ b/driver/audio_driver.c
|
||||
@@ -1205,7 +1205,7 @@ static int mr_alsa_audio_pcm_capture_copy_internal( struct snd_pcm_substream *s
|
||||
@@ -1205,8 +1205,8 @@ static int mr_alsa_audio_pcm_capture_copy_internal( struct snd_pcm_substream *s
|
||||
{
|
||||
int ret_pu;
|
||||
char val = 0xf1;
|
||||
- __put_user_x(1, val, (unsigned long __user *)src, ret_pu);
|
||||
- ret_pu = put_user(val, (unsigned long __user *)src);
|
||||
+ //__put_user_x(1, val, (unsigned long __user *)src, ret_pu);
|
||||
ret_pu = put_user(val, (unsigned long __user *)src);
|
||||
+ ret_pu = put_user(val, (unsigned char __user *)src);
|
||||
//put_user(val, (unsigned long __user *)src);
|
||||
switch(nb_logical_bits)
|
||||
{
|
||||
@@ -2758,4 +2758,4 @@ void mr_alsa_audio_card_exit(void)
|
||||
g_ravenna_peer = NULL;
|
||||
g_mr_alsa_audio_ops = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user