firewire-lib: improve packet processing loop for easy reading
firewire-lib: fix typo
firewire-lib: fix failure to pick up MIDI messages
fireworks: declare address length and command/response length

In Fireworks transactions, the maximum bytes for command/response is 0x130
for isochronous channel mapping.

According to maintainer's advices.

[alsa-devel] [PATCH 17/44] fireworks: Add transaction and some commands
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075106.html

[alsa-devel] [PATCH 28/44] fireworks: Add command/response functionality into hwdep interface
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075150.html
fireworks: Add checking for hwinfo params

According to maintainer's advices:

[alsa-devel] [PATCH 23/44] fireworks: Add proc interface for debugging purpose
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075111.html
fireworks: Add alias of external variables for module params

These two variables are externed to use whole sources for this module.
But when compiled as builtin, this may causes name conflict.

This commit add alias with module_param_named() macro to prevent from
this conflicts and keep name of module params simple.

According to maintainer's advice:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075150.html
fireworks: Use __u32 instead of uint32_t for uapi

In a point of self-contained. And it's a way of Linux.

[alsa-devel] [PATCH 28/44] fireworks: Add command/response functionality into hwdep interface
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075176.html
fireworks: Add const type qualifier to PCM variables

According to maintainer's advice:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075146.html
fireworks/bebob: Confirm to decrease reference counter for firewire unit.

amdtp_stream_init() increases the reference counter and amdtp_stream_destroy()
decreases it. This commit make it sure to decrease it.

According to maintainer's advice:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075184.html
fireworks/bebob: Always success to stop streams

Even if transactions are disabled, the streams should be stopped.
This commit adds a pointer as a cache of master stream and remove
transaction from stream_stop_duplex().

According to maintainer's advice:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075227.html
firewire-lib: Introduce AMDTP_IN_PCM_FORMAT_BITS for capture PCM format

According to maintainer's comment:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075226.html
fireworks/bebob: Use atomic_t for substream counter

To keep consistency of counter even if instructions for incrementing /
decrementing the counter are preempted or performed by multi processes.

According to maintainer's advice:
[alsa-devel] [PATCH 24/44] fireworks: Add MIDI interface
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075112.html
fireworks/bebob: Fix PCM constraint for frames per period/buffer

According to maintainer's advice:
[alsa-devel] [PATCH 26/44] fireworks: Add PCM interface
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-April/075146.html
fireworks/bebob: Simplify stream_start_duplex()

An argument for stream is needless. Reference counters can do the same work.
bebob: Improve return value of commands