summaryrefslogtreecommitdiff
path: root/drivers/base/platform-msi.c
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2017-01-16 21:48:20 +0300
committerThomas Gleixner <tglx@linutronix.de>2017-01-17 11:53:14 +0300
commit788d23930a9724fc85cdf9999521a867d8748019 (patch)
treecb5b56260250856bc40243c90b562c154dc3bfe5 /drivers/base/platform-msi.c
parent49def1853334396f948dcb4cedb9347abb318df5 (diff)
downloadlinux-788d23930a9724fc85cdf9999521a867d8748019.tar.xz
irq/platform-msi: Fix comment about maximal MSIs
Commit aff5e06b0dda ("irq/platform-MSI: Increase the maximum MSIs the MSI framework can support") increased the maximum MSIs to 2048. Fix the comment to reflect that. Signed-off-by: Matthias Brugger <mbrugger@suse.com> Cc: gregkh@linuxfoundation.org Cc: majun258@huawei.com Link: http://lkml.kernel.org/r/1484592500-15400-1-git-send-email-mbrugger@suse.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/base/platform-msi.c')
-rw-r--r--drivers/base/platform-msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c
index be6a599bc0c1..0fc7c4da7756 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -206,7 +206,7 @@ platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec,
{
struct platform_msi_priv_data *datap;
/*
- * Limit the number of interrupts to 256 per device. Should we
+ * Limit the number of interrupts to 2048 per device. Should we
* need to bump this up, DEV_ID_SHIFT should be adjusted
* accordingly (which would impact the max number of MSI
* capable devices).