Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
solution
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
hebohua
solution
Commits
e7645da1
Commit
e7645da1
authored
Mar 14, 2025
by
luo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[UPDATE]SDK 2.5.0.7.1.1
parent
641cf5fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
acme_spi.c
...ease/linux/kernel/linux-5.10.106/drivers/rpmsg/acme_spi.c
+4
-4
Release_Note.md
Release_Note.md
+7
-0
No files found.
6920_bsp_release/linux/kernel/linux-5.10.106/drivers/rpmsg/acme_spi.c
View file @
e7645da1
...
@@ -70,7 +70,7 @@ static int __sa_rpdev_spi_send(struct sa_spi_rpmsg *sa_dev, u32 src, u32 dst, vo
...
@@ -70,7 +70,7 @@ static int __sa_rpdev_spi_send(struct sa_spi_rpmsg *sa_dev, u32 src, u32 dst, vo
gpiod_set_value
(
sa_dev
->
mt_req
,
1
);
gpiod_set_value
(
sa_dev
->
mt_req
,
1
);
mutex_unlock
(
&
sa_dev
->
spi_lock
);
mutex_unlock
(
&
sa_dev
->
spi_lock
);
printk
(
"%s return %x
\n
"
,
__func__
,
ret
);
printk
(
"%s return %x
\n
"
,
__func__
,
ret
);
print_hex_dump
(
"KERN_INFO"
,
" "
,
DUMP_PREFIX_NONE
,
16
,
1
,
msg
->
data
,
msg
->
len
,
true
);
//
print_hex_dump("KERN_INFO", " ", DUMP_PREFIX_NONE, 16, 1, msg->data, msg->len, true);
kfree
(
msg
);
kfree
(
msg
);
return
ret
;
return
ret
;
}
}
...
@@ -223,9 +223,9 @@ static irqreturn_t sa_spi_recv_thread(int irq, void *data)
...
@@ -223,9 +223,9 @@ static irqreturn_t sa_spi_recv_thread(int irq, void *data)
return
IRQ_HANDLED
;
return
IRQ_HANDLED
;
}
}
mutex_unlock
(
&
sa_dev
->
spi_lock
);
mutex_unlock
(
&
sa_dev
->
spi_lock
);
print_hex_dump
(
KERN_INFO
,
" [R]HEAD "
,
DUMP_PREFIX_NONE
,
16
,
1
,
&
msg
,
sizeof
(
msg
),
true
);
//
print_hex_dump(KERN_INFO, " [R]HEAD ", DUMP_PREFIX_NONE, 16, 1, &msg, sizeof(msg), true);
printk
(
KERN_INFO
"msg src: %x, dst: %x, len: %x
\n
"
,
msg
.
src
,
msg
.
dst
,
msg
.
len
);
//
printk(KERN_INFO "msg src: %x, dst: %x, len: %x\n", msg.src, msg.dst, msg.len);
print_hex_dump
(
KERN_INFO
,
" [R]DATA "
,
DUMP_PREFIX_NONE
,
16
,
1
,
buf
,
msg
.
len
,
true
);
//
print_hex_dump(KERN_INFO, " [R]DATA ", DUMP_PREFIX_NONE, 16, 1, buf, msg.len, true);
mutex_lock
(
&
sa_dev
->
endpoints_lock
);
mutex_lock
(
&
sa_dev
->
endpoints_lock
);
ept
=
idr_find
(
&
sa_dev
->
endpoints
,
msg
.
dst
);
ept
=
idr_find
(
&
sa_dev
->
endpoints
,
msg
.
dst
);
if
(
ept
){
if
(
ept
){
...
...
Release_Note.md
View file @
e7645da1
# 2.5.0.7.1版本0.1
## 发布日期:2025年03月14日
### 更新内容
1.
删除acme_spi.ko多余打印信息
# 2.5.0.7.1版本0.0
# 2.5.0.7.1版本0.0
## 发布日期:2025年03月14日
## 发布日期:2025年03月14日
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment