mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-15 15:37:43 +07:00
Bluetooth: bt3c: Delete some unuseful comments
I think the comments are used to debug, and we don't need them in mainline code Signed-off-by: DingXiang <dingxiang@huawei.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
9dac883544
commit
16e5c47a0f
@ -227,7 +227,6 @@ static void bt3c_receive(struct bt3c_info *info)
|
|||||||
iobase = info->p_dev->resource[0]->start;
|
iobase = info->p_dev->resource[0]->start;
|
||||||
|
|
||||||
avail = bt3c_read(iobase, 0x7006);
|
avail = bt3c_read(iobase, 0x7006);
|
||||||
//printk("bt3c_cs: receiving %d bytes\n", avail);
|
|
||||||
|
|
||||||
bt3c_address(iobase, 0x7480);
|
bt3c_address(iobase, 0x7480);
|
||||||
while (size < avail) {
|
while (size < avail) {
|
||||||
@ -250,7 +249,6 @@ static void bt3c_receive(struct bt3c_info *info)
|
|||||||
|
|
||||||
bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L);
|
bt_cb(info->rx_skb)->pkt_type = inb(iobase + DATA_L);
|
||||||
inb(iobase + DATA_H);
|
inb(iobase + DATA_H);
|
||||||
//printk("bt3c: PACKET_TYPE=%02x\n", bt_cb(info->rx_skb)->pkt_type);
|
|
||||||
|
|
||||||
switch (bt_cb(info->rx_skb)->pkt_type) {
|
switch (bt_cb(info->rx_skb)->pkt_type) {
|
||||||
|
|
||||||
@ -364,7 +362,6 @@ static irqreturn_t bt3c_interrupt(int irq, void *dev_inst)
|
|||||||
if (stat & 0x0001)
|
if (stat & 0x0001)
|
||||||
bt3c_receive(info);
|
bt3c_receive(info);
|
||||||
if (stat & 0x0002) {
|
if (stat & 0x0002) {
|
||||||
//BT_ERR("Ack (stat=0x%04x)", stat);
|
|
||||||
clear_bit(XMIT_SENDING, &(info->tx_state));
|
clear_bit(XMIT_SENDING, &(info->tx_state));
|
||||||
bt3c_write_wakeup(info);
|
bt3c_write_wakeup(info);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user