mei: move hbuf_depth from the mei device to the hw modules
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 23 Jul 2018 10:21:23 +0000 (13:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 12:16:57 +0000 (14:16 +0200)
commit8c8d964ce90f16877b76c3f00b27165bf865af69
treef78cebf528642d8f2875a6b00f2c5465efc3f93c
parent9fc5f0f8ad28405145b30fd3b905e368063ee14c
mei: move hbuf_depth from the mei device to the hw modules

The host buffer depth is hardware specific so it's better to
handle it inside the me and txe hw modules. In me the depth
is read from register in txe it's a constant number.
The value is now retrieved via mei_hbuf_depth accessor,
while it replaces mei_hbuf_max_len.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c
drivers/misc/mei/hw-me.c
drivers/misc/mei/hw-me.h
drivers/misc/mei/hw-txe.c
drivers/misc/mei/mei_dev.h