Commit e7645da1 authored by luo's avatar luo

[UPDATE]SDK 2.5.0.7.1.1

parent 641cf5fb
...@@ -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){
......
# 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日
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment