mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
drivers: soc: rockchip: fix vendor storage write issue
Change-Id: I65bf5896ac8cf792c400755fc62e3e433209891d Signed-off-by: Zhaoyifeng <zyf@rock-chips.com>
This commit is contained in:
@@ -22,8 +22,8 @@ EXPORT_SYMBOL(rk_vendor_read);
|
||||
|
||||
int rk_vendor_write(u32 id, void *pbuf, u32 size)
|
||||
{
|
||||
if (_vendor_read)
|
||||
return _vendor_read(id, pbuf, size);
|
||||
if (_vendor_write)
|
||||
return _vendor_write(id, pbuf, size);
|
||||
return -1;
|
||||
}
|
||||
EXPORT_SYMBOL(rk_vendor_write);
|
||||
|
||||
Reference in New Issue
Block a user