From 1d95d22c589869e8450d5af866a0707b82c19104 Mon Sep 17 00:00:00 2001 From: shiwei <1006601833@qq.com> Date: Thu, 8 Sep 2022 21:39:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3spi=E9=A9=B1=E5=8A=A8?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E8=8A=82=E7=82=B9=E6=9C=AA=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96spiId=E5=AF=BC=E8=87=B4=E7=9A=84=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E5=87=BA=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shiwei <1006601833@qq.com> --- platform/spi/spi_bes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/spi/spi_bes.c b/platform/spi/spi_bes.c index 5a83d94..c946e85 100755 --- a/platform/spi/spi_bes.c +++ b/platform/spi/spi_bes.c @@ -455,6 +455,7 @@ static int32_t GetSpiDeviceResource(struct SpiDevice *spiDevice, const char *dev if (result != HDF_SUCCESS) { HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); } + spiDevice->spiId = resource->num; return result; } #else -- Gitee