Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebe974ce authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: Add support for a new MHI device id"

parents abf41498 6be1af15
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -777,6 +777,9 @@ static int diag_mhi_probe(struct mhi_device *mhi_dev,
	case MHI_DEV_ID_2:
	case MHI_DEV_ID_2:
		dev_idx = 1;
		dev_idx = 1;
		break;
		break;
	case MHI_DEV_ID_3:
		dev_idx = 1;
		break;
	default:
	default:
		return 0;
		return 0;
	}
	}
+1 −0
Original line number Original line Diff line number Diff line
@@ -39,6 +39,7 @@
/* Below mhi  device ids are from mhi controller */
/* Below mhi  device ids are from mhi controller */
#define MHI_DEV_ID_1 0x306
#define MHI_DEV_ID_1 0x306
#define MHI_DEV_ID_2 0x1101
#define MHI_DEV_ID_2 0x1101
#define MHI_DEV_ID_3 0x1103


struct diag_mhi_buf_tbl_t {
struct diag_mhi_buf_tbl_t {
	struct list_head link;
	struct list_head link;