summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/mailbox-xgene-slimpro.c
Commit message (Collapse)AuthorAgeFilesLines
* mailbox: xgene-slimpro: Fix wrong test for devm_kzallocAxel Lin2016-04-081-2/+2
| | | | | | | devm_kzalloc() returns NULL on failure. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
* mailbox/xgene-slimpro: Checking for IS_ERR instead of NULLDan Carpenter2016-03-041-2/+2
| | | | | | | | devm_ioremap() returns NULL, it never returns an ERR_PTR. Fixes: f700e84f417b ('mailbox: Add support for APM X-Gene platform mailbox driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
* mailbox: Add support for APM X-Gene platform mailbox driverDuc Dang2016-02-151-0/+284
X-Gene mailbox controller provides 8 mailbox channels, with each channel has a dedicated interrupt line. Signed-off-by: Feng Kan <fkan@apm.com> Signed-off-by: Duc Dang <dhdang@apm.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>