greybus: ap: start validating the message better

We check the type of the message now.

Start to check the size of the payload to match the size of the message
type.  Still more work to do needed here.

Also "hooked up" the hotplug message, but doesn't call anything as the
core doesn't implement that yet...
This commit is contained in:
Greg Kroah-Hartman 2014-09-21 18:19:54 -07:00
commit 00c52e4d3e