Message ID | 1366702460-32305-1-git-send-email-alex.hung@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 23/04/13 08:34, Alex Hung wrote: > In Intel chipset databook, Audio's "Max Read Request" is hardwired to 0 > enabling 128B maximum read request size. > > Signed-off-by: Alex Hung <alex.hung@canonical.com> > --- > src/pci/maxreadreq/maxreadreq.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/pci/maxreadreq/maxreadreq.c b/src/pci/maxreadreq/maxreadreq.c > index 0168356..b95e579 100644 > --- a/src/pci/maxreadreq/maxreadreq.c > +++ b/src/pci/maxreadreq/maxreadreq.c > @@ -103,6 +103,8 @@ static int maxreadreq_test1(fwts_framework *fw) > continue; > if (strcmp(current_type, "System peripheral")==0) > continue; > + if (strcmp(current_type, "Audio device")==0) > + continue; > > c = strstr(line, "MaxReadReq "); > if (c) { > Acked-by: Colin Ian King <colin.king@canonical.com>
On 04/23/2013 03:34 PM, Alex Hung wrote: > In Intel chipset databook, Audio's "Max Read Request" is hardwired to 0 > enabling 128B maximum read request size. > > Signed-off-by: Alex Hung <alex.hung@canonical.com> > --- > src/pci/maxreadreq/maxreadreq.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/pci/maxreadreq/maxreadreq.c b/src/pci/maxreadreq/maxreadreq.c > index 0168356..b95e579 100644 > --- a/src/pci/maxreadreq/maxreadreq.c > +++ b/src/pci/maxreadreq/maxreadreq.c > @@ -103,6 +103,8 @@ static int maxreadreq_test1(fwts_framework *fw) > continue; > if (strcmp(current_type, "System peripheral")==0) > continue; > + if (strcmp(current_type, "Audio device")==0) > + continue; > > c = strstr(line, "MaxReadReq "); > if (c) { > Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff --git a/src/pci/maxreadreq/maxreadreq.c b/src/pci/maxreadreq/maxreadreq.c index 0168356..b95e579 100644 --- a/src/pci/maxreadreq/maxreadreq.c +++ b/src/pci/maxreadreq/maxreadreq.c @@ -103,6 +103,8 @@ static int maxreadreq_test1(fwts_framework *fw) continue; if (strcmp(current_type, "System peripheral")==0) continue; + if (strcmp(current_type, "Audio device")==0) + continue; c = strstr(line, "MaxReadReq "); if (c) {
In Intel chipset databook, Audio's "Max Read Request" is hardwired to 0 enabling 128B maximum read request size. Signed-off-by: Alex Hung <alex.hung@canonical.com> --- src/pci/maxreadreq/maxreadreq.c | 2 ++ 1 file changed, 2 insertions(+)