]> asedeno.scripts.mit.edu Git - linux.git/commit
i3c: Fix the verification of random PID
authorVitor Soares <vitor.soares@synopsys.com>
Tue, 9 Apr 2019 16:59:59 +0000 (18:59 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 10 Apr 2019 10:43:47 +0000 (12:43 +0200)
commit9752c37cc89f43675e70cf9acff23519fa84b48c
tree9948d83f754ad1893afd758341626bf4f19b4de1
parent15ade5d2e7775667cf191cf2f94327a4889f8b9d
i3c: Fix the verification of random PID

The validation of random PID should be done by checking the
boardinfo->pid instead of info.pid which is empty.

Doing the change the info struture declaration is no longer necessary.

Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: <stable@vger.kernel.org>
Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure")
Signed-off-by: Vitor Soares <vitor.soares@synopsys.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/i3c/master.c