drm/tda998x: BUG() on invalid audio format
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 1 Sep 2013 13:23:04 +0000 (15:23 +0200)
committerDave Airlie <airlied@gmail.com>
Wed, 4 Sep 2013 22:52:19 +0000 (08:52 +1000)
commit3b28802e37bb1ca1cab584f679c42e72a7e384f8
treebe8fe0dc35d5923f158c6aec13edc2f107855ba2
parentab62e7686172767f79be9d0d9beac92e22a5e6da
drm/tda998x: BUG() on invalid audio format

Suppress warning of unused-variables by adding a BUG()+return for invalid
audio-formats.

Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/i2c/tda998x_drv.c