fsl-asoc-card: Be safer when detecting codec

This adjusts the codec detection code to use an enumerated value that we store
along with the codec private data during the initial probe of the device. This
change gives us a far better, more foolproof way of adjusting behavior specific
to each codec.

Test: check audio to ensure it still plays.
Change-Id: If01b615c27abd5bac75b7d699651fc3e565899d0
1 file changed