remoteproc: calculate max_notifyid by counting vrings
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Thu, 21 Feb 2013 17:15:37 +0000 (18:15 +0100)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 7 Apr 2013 11:04:25 +0000 (14:04 +0300)
commitba7290e01663787fcfc2bedaff6232359d4ff248
treef95914f654f498088b0fdb331904593c3a519bc7
parent232fcdbb450000850bef8ff7e022cde2b4053f67
remoteproc: calculate max_notifyid by counting vrings

Simplify handling of max_notifyid by simply counting the
number of vrings.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Ido Yariv <ido@wizery.com>
[small terminology changes]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c
drivers/remoteproc/ste_modem_rproc.c