staging: most: usb: pass correct register table
authorChristian Gromm <christian.gromm@microchip.com>
Fri, 7 Apr 2017 13:38:40 +0000 (15:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 10:41:40 +0000 (12:41 +0200)
commitb2e8aa52e27ba518478099ed2eb98a3df85f42dd
treef217b529b232354d5731971182f4ada40aed10ce
parent5c13155d190464fade0344e16b6341f18af25f1f
staging: most: usb: pass correct register table

Inside the function store_value() the table of writable registers need to
be passed to function get_static_reg_addr() or else the correct register
address is never going to be found.

Reported-by: Alex Riesen <alexander.riesen@cetitec.com>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c