Due to SNDRV_SEQ_ADDRESS_BROADCAST, not all 256 port number values can
be used.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
        /* fill the info fields */
        info.queues = SNDRV_SEQ_MAX_QUEUES;
        info.clients = SNDRV_SEQ_MAX_CLIENTS;
-       info.ports = 256;       /* fixed limit */
+       info.ports = SNDRV_SEQ_MAX_PORTS;
        info.channels = 256;    /* fixed limit */
        info.cur_clients = client_usage.cur;
        info.cur_queues = snd_seq_queue_get_cur_queues();